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>.
Version: | 0.3.5 |
Depends: | R (≥ 2.10) |
Imports: | dplyr, glue, magrittr, purrr, RColorBrewer, rlang, rmarkdown, stringr, tidyr |
Suggests: | testthat (≥ 3.0.0), knitr |
Published: | 2025-01-15 |
Author: | John Stephen [aut, cre] |
Maintainer: | John Stephen <John.Stephen at northwestern.edu> |
BugReports: | https://github.com/NUDACC/psHarmonize/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/NUDACC/psHarmonize |
NeedsCompilation: | no |
Citation: | psHarmonize citation info |
Materials: | NEWS |
CRAN checks: | psHarmonize results |
Reference manual: | psHarmonize.pdf |
Vignettes: |
Harmonization sheet instructions (source, R code) Introduction to psHarmonize (source, R code) |
Package source: | psHarmonize_0.3.5.tar.gz |
Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=psHarmonize to link to this page.