Creates a Harmonized Dataset Based on a Set of Instructions
Code modify function (multiple variables). To be called by the harmoni...
Code modify function. To be called by the harmonization function.
Code modify recode. To be called by harmonization function.
Cohort sheet create. To be called by harmonization function.
Continuous or categorical
Error log report creation
Create long dataset.
Summary report creation
Harmonization Function
Pipe operator
Possible values for categorical variables. To be called by harmonizati...
Range function. To be called by harmonization function.
Reorder factors data.frame
Reorder factors
psHarmonize summary method
Functions which facilitate harmonization of data from multiple different datasets. Data harmonization involves taking data sources with differing values, creating coding instructions to create a harmonized set of values, then making those data modifications. 'psHarmonize' will assist with data modification once the harmonization instructions are written. Coding instructions are written by the user to create a "harmonization sheet". This sheet catalogs variable names, domains (e.g. clinical, behavioral, outcomes), provides R code instructions for mapping or conversion of data, specifies the variable name in the harmonized data set, and tracks notes. The package will then harmonize the source datasets according to the harmonization sheet to create a harmonized dataset. Once harmonization is finished, the package also has functions that will create descriptive statistics using 'RMarkdown'. Data Harmonization guidelines have been described by Fortier I, Raina P, Van den Heuvel ER, et al. (2017) <doi:10.1093/ije/dyw075>. Additional details of our R package have been described by Stephen JJ, Carolan P, Krefman AE, et al. (2024) <doi:10.1016/j.patter.2024.101003>.