Package: datadaptor 0.0.0.9000
datadaptor: Modify Labelled Data Sets With Excel Files
An R package to modify labelled data sets with commands in Excel files. The commands in this package allow to create new variables, and modify the labels of the variables, as well as the variables themselves. The goal is to provide an easy & concise syntax, and to allow for fast systematic data entry using Excel for advanced users. The commands work on the variables inside the data.frame environment (like e.g. inside dplyr verbs), thus providing an approach that might ease the use for people without in-depth programming experience.
Authors:
datadaptor_0.0.0.9000.tar.gz
datadaptor_0.0.0.9000.zip(r-4.5)datadaptor_0.0.0.9000.zip(r-4.4)datadaptor_0.0.0.9000.zip(r-4.3)
datadaptor_0.0.0.9000.tgz(r-4.5-any)datadaptor_0.0.0.9000.tgz(r-4.4-any)datadaptor_0.0.0.9000.tgz(r-4.3-any)
datadaptor_0.0.0.9000.tar.gz(r-4.5-noble)datadaptor_0.0.0.9000.tar.gz(r-4.4-noble)
datadaptor_0.0.0.9000.tgz(r-4.4-emscripten)datadaptor_0.0.0.9000.tgz(r-4.3-emscripten)
datadaptor.pdf |datadaptor.html✨
datadaptor/json (API)
# Install 'datadaptor' in R: |
install.packages('datadaptor', repos = c('https://urswilke.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://gitlab.com/urswilke/datadaptor
Pkgdown site:https://urswilke.gitlab.io
- command_block_classes - 'command_block' overview
- fruit_survey - Toy data of a fictional survey about fruits
- mtcars_labelled - Labelled mtcars version
Last updated 21 days agofrom:a43647a491. Checks:3 OK, 5 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 17 2025 |
R-4.5-win | NOTE | Feb 17 2025 |
R-4.5-mac | NOTE | Feb 17 2025 |
R-4.5-linux | NOTE | Feb 17 2025 |
R-4.4-win | NOTE | Feb 17 2025 |
R-4.4-mac | NOTE | Feb 17 2025 |
R-4.3-win | OK | Feb 17 2025 |
R-4.3-mac | OK | Feb 17 2025 |
Exports:%>%apply_commandcreate_mappingcreate_mapping_workbookcurlychopdiff_dataformat_sheet_datagen_data_tablegen_label_tablegen_var_tableget_mapping_optionsis_true_vecMappingread_data_safer_envset_na_to_filteruse_known_args
Dependencies:BHbitbit64cellrangerclicliprcpp11crayondigestdplyrfansiforcatsfsgenericsgluehavenhmslabelledlifecyclemagrittropenxlsx2pillarpkgconfigpowerjoinprettyunitsprogresspurrrqsR6RApiSerializeRcppRcppParallelreadrreadxlrematchrlangstringfishstringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithrwritexlzip
debugging
Rendered fromdebugging.Rmd
usingknitr::rmarkdown
on Feb 17 2025.Last update: 2024-12-29
Started: 2021-02-06
Documentation of the Excel mapping command blocks
Rendered fromcommand_blocks.Rmd
usingknitr::rmarkdown
on Feb 17 2025.Last update: 2025-02-17
Started: 2022-01-14
Included data sets and files in the package
Rendered fromincluded_data.Rmd
usingknitr::rmarkdown
on Feb 17 2025.Last update: 2025-01-07
Started: 2020-12-06
Introduction to survey data tabulation in R
Rendered fromsurvey_data_tabulation.Rmd
usingknitr::rmarkdown
on Feb 17 2025.Last update: 2024-12-29
Started: 2022-08-10
Translating the Excel mapping commands to R
Rendered fromtranslating_command_blocks_to_R.Rmd
usingknitr::rmarkdown
on Feb 17 2025.Last update: 2024-12-29
Started: 2022-08-10
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Apply a command block to the data | apply_command apply_command.cmd_across apply_command.cmd_addfile apply_command.cmd_add_labs apply_command.cmd_autorec apply_command.cmd_comp apply_command.cmd_debug apply_command.cmd_dic apply_command.cmd_drop apply_command.cmd_filter apply_command.cmd_if apply_command.cmd_kg apply_command.cmd_merge apply_command.cmd_newlab apply_command.cmd_newvall apply_command.cmd_r apply_command.cmd_rec apply_command.cmd_recna_xcpt apply_command.cmd_rename apply_command.cmd_rename_varsheet apply_command.cmd_rfun apply_command.cmd_rmval apply_command.cmd_select apply_command.cmd_set_lab apply_command.cmd_set_labs apply_command.cmd_str_to_num apply_command.cmd_sumvar apply_command.cmd_verbatim apply_command.cmd_verbatim_custom apply_command_args |
'command_block' overview | command_block_classes |
Create an Excel mapping file based on a labelled dataframe | create_mapping |
Create a mapping openxlsx2 workbook object | create_mapping_workbook |
Multiply repetitive parts of command blocks using curly braces | curlychop |
Diff to labelled data frames | diff_data |
Format the dataframe returned by reading an excel sheet with 'openxlsx2::wb_read()' | format_sheet_data |
Toy data of a fictional survey about fruits | fruit_survey |
Generate data counts table | gen_data_table |
Mapping parameters | get_mapping_options |
Generate tables with the variables' labels | gen_label_table gen_var_table label_tables |
Mapping class | Mapping |
Labelled mtcars version | mtcars_labelled |
Ingest data from data.frame or file path | read_data_ |
Execution environments | safer_env |
Apply function on the subset of arguments it knows | use_known_args |