Package: chmsflow 0.1.0
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>.
Authors:
chmsflow_0.1.0.tar.gz
chmsflow_0.1.0.tar.gz(r-4.7-any)chmsflow_0.1.0.tar.gz(r-4.6-any)
chmsflow_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
chmsflow/json (API)
NEWS
| # Install 'chmsflow' in R: |
| install.packages('chmsflow', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/big-life-lab/chmsflow/issues
Pkgdown/docs site:https://big-life-lab.github.io
- cycle1 - Canadian Health Measures Survey (CHMS) Cycle 1
- cycle1_meds - Canadian Health Measures Survey (CHMS) Cycle 1 Medications
- cycle2 - Canadian Health Measures Survey (CHMS) Cycle 2
- cycle2_meds - Canadian Health Measures Survey (CHMS) Cycle 2 Medications
- cycle3 - Canadian Health Measures Survey (CHMS) Cycle 3
- cycle3_meds - Canadian Health Measures Survey (CHMS) Cycle 3 Medications
- cycle4 - Canadian Health Measures Survey (CHMS) Cycle 4
- cycle4_meds - Canadian Health Measures Survey (CHMS) Cycle 4 Medications
- cycle5 - Canadian Health Measures Survey (CHMS) Cycle 5
- cycle5_meds - Canadian Health Measures Survey (CHMS) Cycle 5 Medications
- cycle6 - Canadian Health Measures Survey (CHMS) Cycle 6
- cycle6_meds - Canadian Health Measures Survey (CHMS) Cycle 6 Medications
- variable_details - Variable-details.csv
- variables - Variables.csv
Last updated from:94ab7c7261. Checks:4 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 142 | ||
| source / vignettes | OK | 232 | ||
| linux-release-x86_64 | OK | 148 | ||
| wasm-release | OK | 127 |
Exports:adjust_dbpadjust_sbpaggregate_meds_by_personcalculate_exercise_daily_avgcalculate_exercise_weeklycalculate_fv_daily_cycles1to2calculate_fv_daily_cycles3to6calculate_gfrcalculate_household_incomecalculate_nonhdlcalculate_pack_yearscalculate_waist_height_ratiocategorize_ckdcategorize_diet_qualitycategorize_exercisecategorize_income_quintilecategorize_nonhdlderive_alcohol_riskderive_alcohol_risk_detailedderive_cvd_family_historyderive_cvd_personal_historyderive_diabetes_statusderive_hypertensionderive_hypertension_adjderive_hypertension_controlderive_hypertension_control_adjis_ace_inhibitoris_ace_med_cycles1to2is_any_antihtn_medis_any_htn_med_cycles1to2is_bb_med_cycles1to2is_beta_blockeris_calcium_channel_blockeris_ccb_med_cycles1to2is_diab_med_cycles1to2is_diabetes_medis_diur_med_cycles1to2is_diureticis_lowest_income_quintileis_misc_htn_med_cycles1to2is_nsaidis_nsaid_med_cycles1to2is_other_antihtn_medrecode_after_medsrecode_meds_cycles1to2recode_meds_cycles3to6
Dependencies:bitbit64clicliprcpp11crayondatawizarddplyrforcatsgenericsgluehavenhmsinsightlifecyclemagrittrpillarpkgconfigprettyunitsprogresspurrrR6readrrecodeflowrlangsjlabelledstringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithrXML
Analysis walkthrough: hypertension prevalence
Rendered fromanalysis_walkthrough.qmdusingquarto::htmlon Jun 08 2026.Last update: 2026-06-08
Started: 2026-06-08
Derived variables
Rendered fromderived_variables.qmdusingquarto::htmlon Jun 08 2026.Last update: 2026-06-08
Started: 2026-06-08
Get started
Rendered fromget_started.qmdusingquarto::htmlon Jun 08 2026.Last update: 2026-06-08
Started: 2026-06-08
How to add variables to chmsflow
Rendered fromhow_to_add_variables.qmdusingquarto::htmlon Jun 08 2026.Last update: 2026-06-08
Started: 2026-06-08
Methodology
Rendered frommethodology.qmdusingquarto::htmlon Jun 08 2026.Last update: 2026-06-08
Started: 2026-06-08
Missing data (tagged_na)
Rendered fromtagged_na_usage.qmdusingquarto::htmlon Jun 08 2026.Last update: 2026-06-08
Started: 2026-06-08
Recoding CHMS medication variables
Rendered fromrecoding_medications.qmdusingquarto::htmlon Jun 08 2026.Last update: 2026-06-08
Started: 2026-06-08
Using chmsflow at an RDC
Rendered fromusing_chmsflow_at_an_rdc.qmdusingquarto::htmlon Jun 08 2026.Last update: 2026-06-08
Started: 2026-06-08
Variable schema reference
Rendered fromvariables_and_variable_details.qmdusingquarto::htmlon Jun 08 2026.Last update: 2026-06-08
Started: 2026-06-08
