The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

chmsflow chmsflow logo

Lifecycle: development License: MIT R-CMD-check

chmsflow harmonizes variables from the Canadian Health Measures Survey (CHMS) across cycles 1–6 (2007–2019), producing consistent, analysis-ready datasets.

library(chmsflow)

# Harmonize ethnicity from cycle 3 in one call
cycle3_ethnicity <- recodeflow::rec_with_table(
  cycle3, "pgdcgt",
  variable_details = variable_details
)

Installation

# Install from CRAN
install.packages("chmsflow")

# Install from GitHub
devtools::install_github("Big-Life-Lab/chmsflow")

For use at a Research Data Centre (RDC), see vignette("using_chmsflow_at_an_rdc").

Documentation

Contributing

Contributions are welcome – see the contributing guide.

Statistics Canada attribution

The dummy data included in this package is for illustrative purposes only and does not contain any real data from Statistics Canada.

This package is adapted from Statistics Canada, Canadian Health Measures Survey Cycles 1–6 (2007 to 2019), accessed June 2023. This does not constitute an endorsement by Statistics Canada of this product.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.