Package: psHarmonize 0.3.6

John Stephen

psHarmonize: Creates a Harmonized Dataset Based on a Set of Instructions

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>.

Authors:John Stephen [aut, cre], Maxwell Mansolf [ctb]

psHarmonize_0.3.6.tar.gz
psHarmonize_0.3.6.zip(r-4.7)psHarmonize_0.3.6.zip(r-4.6)psHarmonize_0.3.6.zip(r-4.5)
psHarmonize_0.3.6.tgz(r-4.6-any)psHarmonize_0.3.6.tgz(r-4.5-any)
psHarmonize_0.3.6.tar.gz(r-4.7-any)psHarmonize_0.3.6.tar.gz(r-4.6-any)
psHarmonize_0.3.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
psHarmonize/json (API)

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

Bug tracker:https://github.com/nudacc/psharmonize/issues

Datasets:

On CRAN:

Conda:

4.30 score 2 stars 10 scripts 204 downloads 14 exports 42 dependencies

Last updated from:cb87f73758. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK127
source / vignettesOK183
linux-release-x86_64OK142
macos-release-arm64OK196
macos-oldrel-arm64OK152
windows-develOK81
windows-releaseOK86
windows-oldrelOK87
wasm-releaseOK140

Exports:%>%code_modify_funccode_modify_func_multicode_modify_recodecohort_shell_funccont_or_catcreate_error_log_reportcreate_long_datasetcreate_summary_reportharmonizationrange_functionrange_function_catreorder_factorsreorder_factors_df

Dependencies:base64encbslibcachemclicpp11digestdplyrevaluatefastmapfontawesomefsgenericsgluehighrhtmltoolsjquerylibjsonliteknitrlifecyclemagrittrmemoisemimepillarpkgconfigpurrrR6rappdirsRColorBrewerrlangrmarkdownsassstringistringrtibbletidyrtidyselecttinytexutf8vctrswithrxfunyaml

Introduction to psHarmonize
Harmonization sheet | Cohort data | Cohort A | Cohort B | Cohort C | Harmonization process | Creating harmonization sheet | Calling harmonization function | Extracting harmonization objects | Long dataset | Wide dataset | Error log | Creating reports | Error report | Summary report

Last update: 2024-03-26
Started: 2023-06-09

Harmonization sheet instructions
Recode category | Function | Functions (multiple variables input) | Multi step variables

Last update: 2023-06-09
Started: 2023-06-09