Skip to contents

chmsflow 0.1.0

Basic features

  • Added variables.csv that contains list of CHMS variables in chmsflow.
  • Added variable-details.csv that maps variables across CHMS cycles 1-6
  • Added Vignettes to describe the process of using rec_with_table() (part of recodeflow) to combine the data

Medication features

Breaking changes (medications)

  • The any_htn_med2 argument of derive_hypertension(), derive_hypertension_adj(), derive_hypertension_control(), and derive_hypertension_control_adj() has been renamed to any_htn_med. The diab_med2 argument of derive_diabetes_status() has been renamed to diab_med. Calls that pass the old argument by name will fail with an “unused argument” error.
  • The self-referential any_htn_med2 and diab_med2 entries in inst/extdata/variable-details.csv have been removed. New any_htn_med and diab_med entries cover all six cycles via three database tiers: DerivedVar rows for cycles 1-2 (atc_*/mhr_* columns), DerivedVar rows for cycles 3-6 (meucatc, npi_25b), and copy passthrough rows for the main cycle databases once medications have been merged in.