Package: retroharmonize 0.2.5.003

Daniel Antal

retroharmonize: Ex Post Survey Data Harmonization

Assist in reproducible retrospective (ex-post) harmonization of data, particularly individual level survey data, by providing tools for organizing metadata, standardizing the coding of variables, and variable names and value labels, including missing values, and documenting the data transformations, with the help of comprehensive s3 classes.

Authors:Daniel Antal [aut, cre], Marta Kolczynska [ctb]

retroharmonize_0.2.5.003.tar.gz
retroharmonize_0.2.5.003.zip(r-4.5)retroharmonize_0.2.5.003.zip(r-4.4)retroharmonize_0.2.5.003.zip(r-4.3)
retroharmonize_0.2.5.003.tgz(r-4.4-any)retroharmonize_0.2.5.003.tgz(r-4.3-any)
retroharmonize_0.2.5.003.tar.gz(r-4.5-noble)retroharmonize_0.2.5.003.tar.gz(r-4.4-noble)
retroharmonize_0.2.5.003.tgz(r-4.4-emscripten)retroharmonize_0.2.5.003.tgz(r-4.3-emscripten)
retroharmonize.pdf |retroharmonize.html
retroharmonize/json (API)
NEWS

# Install 'retroharmonize' in R:
install.packages('retroharmonize', repos = c('https://ropengov.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ropengov/retroharmonize/issues

On CRAN:

ropengov

48 exports 11 stars 1.92 score 39 dependencies 211 downloads

Last updated 8 months agofrom:3a6dbbb2c5

Exports:%>%as_characteras_factoras_labelled_spss_surveyas_numericcodebook_surveys_createcodebook_waves_createcollect_na_labelscollect_val_labelsconcatenatecreate_codebookcrosswalkcrosswalk_surveyscrosswalk_table_createdocument_survey_itemdocument_surveysdocument_wavesharmonize_na_valuesharmonize_survey_valuesharmonize_survey_variablesharmonize_valuesharmonize_var_namesharmonize_waveshereis.crosswalk_tableis.labelled_spss_surveyis.na_range_to_valuesis.surveylabel_normalizelabelled_spss_surveymerge_surveysmerge_wavesmetadata_createmetadata_survey_createna_range_to_valuespull_surveyread_csvread_dtaread_rdsread_spssread_surveysread.csvsubset_save_surveyssubset_surveyssubset_wavessurveyval_label_normalizevar_label_normalize

Dependencies:assertthatbitbit64clicliprcpp11crayondplyrfansiforcatsfsgenericsgluehavenherehmslabelledlifecyclemagrittrpillarpkgconfigprettyunitsprogresspurrrR6readrrlangrprojrootsnakecasestringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithr

Readme and manuals

Help Manual

Help pageTopics
Convert labelled_spss_survey vector To Factoras_factor
Labelled to labelled_spss_surveyas_labelled_spss_survey
Create a codebookcodebook_create
Create a codelistcodelist_create
Collect labels from metadata filecollect_na_labels collect_val_labels
Concatenate haven_labelled_spss vectorsconcatenate
Create a codebookcodebook_surveys_create codebook_waves_create create_codebook
Crosswalk surveyscrosswalk crosswalk_surveys
Create a crosswalk tablecrosswalk_table_create is.crosswalk_table
Document survey item harmonizationdocument_survey_item
Document survey listsdocument_surveys document_waves
Harmonize na_values in haven_labelled_spssharmonize_na_values
Harmonize values in surveysharmonize_survey_values harmonize_waves
Harmonize survey variablesharmonize_survey_variables
Harmonize the values and labels of labelled vectorsharmonize_values
Harmonize the variable names of surveysharmonize_var_names
Normalize value and variable labelslabel_normalize val_label_normalize var_label_normalize
Labelled vectors for multiple SPSS surveysas_character as_numeric is.labelled_spss_survey labelled_spss_survey
Merge surveysmerge_surveys merge_waves
Create a metadata table from several surveysmetadata_create metadata_waves_create
Create a metadata tablemetadata_survey_create
Harmonize user-defined missing value rangesis.na_range_to_values na_range_to_values
Pull a survey from a survey listpull_survey
Read csv fileread_csv
Read Stata DTA files (`.dta`) filesread_dta
Read rds fileread_rds
Read SPSS (`.sav`, `.zsav`, `.por`) files. Write `.sav` and `.zsav` files.read_spss
Read survey file(s)read_survey read_surveys
retroharmonize: Retrospective harmonization of survey data filesretroharmonize
Subset surveyssubset_save_surveys subset_surveys subset_waves
Create a survey data frameis.survey summary.survey survey