chmsflow: Transforming and Harmonizing CHMS Variables

Harmonizes variables from the Canadian Health Measures Survey (CHMS) across cycles 1-6 (2007-2019), producing consistent, analysis-ready variables for use with CHMS data. Recoding is data-driven through metadata tables and applied with recodeflow::rec_with_table() from the 'recodeflow' package. The recoding approach builds on sjmisc::rec() from the 'sjmisc' package (Ludecke 2018) <doi:10.21105/joss.00754>.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: dplyr, haven, purrr, recodeflow
Suggests: DT, kableExtra, knitr, quarto, readr, testthat (≥ 3.0.0)
Published: 2026-06-08
DOI: 10.32614/CRAN.package.chmsflow (may not be active yet)
Author: Rafidul Islam ORCID iD [aut, cre, cph], Douglas Manuel ORCID iD [aut, cph], Therese Chan ORCID iD [ctb], The Ottawa Hospital Research Institute [cph]
Maintainer: Rafidul Islam <raislam at ohri.ca>
BugReports: https://github.com/Big-Life-Lab/chmsflow/issues
License: MIT + file LICENSE
URL: https://github.com/Big-Life-Lab/chmsflow, https://big-life-lab.github.io/chmsflow/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: chmsflow results

Documentation:

Reference manual: chmsflow.html , chmsflow.pdf
Vignettes: Analysis walkthrough: hypertension prevalence (source, R code)
Derived variables (source, R code)
Get started (source, R code)
How to add variables to chmsflow (source, R code)
Methodology (source)
Recoding CHMS medication variables (source, R code)
Missing data (tagged_na) (source, R code)
Using chmsflow at an RDC (source, R code)
Variable schema reference (source, R code)

Downloads:

Package source: chmsflow_0.1.0.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): chmsflow_0.1.0.tgz, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=chmsflow to link to this page.