R: Transforming and Harmonizing CCHS Variables

# Transforming and Harmonizing CCHS Variables

## Documentation for package ‘cchsflow’ version 2.1.0

- DESCRIPTION file
- Package NEWS
- Package README

## Help Pages

active_transport1_fun | Daily active transportation (2001-2005)
active_transport2_fun | Daily active transportation (2007-2014)
active_transport3_fun | Daily active transportation (2015-2018)
adjusted_bmi_fun | Adjusted Body Mass Index (BMI) derived variable
adl_fun | Derived needs help with tasks
adl_score_5_fun | The number of activities of daily living tasks that require help.
age_cat_fun | Derived categorical age
ALCDTTM | Type of drinker (12 months)
ALCDTYP | Type of drinker
ALWDDLY | Average daily alcohol consumption
ALWDWKY | Number of drinks consumed in the past week
ALW_1 | Any alcohol past week
ALW_2A1 | Number of drinks - Sunday
ALW_2A2 | Number of drinks - Monday
ALW_2A3 | Number of drinks - Tuesday
ALW_2A4 | Number of drinks - Wednesday
ALW_2A5 | Number of drinks - Thursday
ALW_2A6 | Number of drinks - Friday
ALW_2A7 | Number of drinks - Saturday
binge_drinker_fun | Binge drinking
bmi_fun | Body Mass Index (BMI) derived variable
bmi_fun_cat | Categorical BMI (international standard)
cchs2001_p | 2001 CCHS PUMF subset data (200 respondents)
cchs2003_p | 2003 CCHS PUMF subset data (200 respondents)
cchs2005_p | 2005 CCHS PUMF subset data (200 respondents)
cchs2007_2008_p | 2007-2008 CCHS PUMF subset data (200 respondents)
cchs2009_2010_p | 2009-2010 CCHS PUMF subset data (200 respondents)
cchs2009_s | 2009 CCHS synthetic subset data (200 respondents)
cchs2010_p | 2010 CCHS PUMF subset data (200 respondents)
cchs2010_s | 2010 CCHS synthetic subset data (200 respondents)
cchs2011_2012_p | 2011-2012 CCHS PUMF subset data (200 respondents)
cchs2012_p | 2012 CCHS PUMF subset data (200 respondents)
cchs2012_s | 2012 CCHS synthetic subset data (200 respondents)
cchs2013_2014_p | 2013-2014 CCHS PUMF subset data (200 respondents)
cchs2014_p | 2014 CCHS PUMF subset data (200 respondents)
cchs2015_2016_p | 2015-2016 CCHS PUMF subset data (200 respondents)
cchs2017_2018_p | 2017-2018 CCHS PUMF subset data (200 respondents)
compare_value_based_on_interval | Compare Value Based On Interval
COPD_Emph_der_fun1 | COPD_Emph_der_fun1
COPD_Emph_der_fun2 | COPD_Emph_der_fun2
diet_score_fun | Diet score
diet_score_fun_cat | Categorized diet score
DPSDPP | Depression Scale - Predicted Probability
DPSDSF | Derived Depression Scale - Short Form Score
energy_exp_fun | Daily energy expenditure in leisure activity
food_insecurity_der | Food insecurity
GEN_02A2 | Satisfaction with life (GEN_02A/GEN_02A2)
get_data_variable_name | Get Data Variable Name
if_else2 | if_else2
immigration_fun | Immigration by ethnicity and settlement
is_equal | is equal
label_data | label_data
LBFA_31A | Occupation Group (9 categories)
LBFA_31A_a | Occupation Group (5 categories)
LBFA_31A_b | Occupation Group (6 categories)
low_drink_long_fun | Long term risks due to drinking
low_drink_score_fun | Low drinking score (all cycles)
low_drink_score_fun1 | Low drinking score (select cycles)
low_drink_short_fun | Short term risks due to drinking
merge_rec_data | Merge recoded data
multiple_conditions_fun1 | Number of chronic conditions (5 chronic conditions)
multiple_conditions_fun2 | Number of chronic conditions (6 chronic conditions)
pack_years_fun | Smoking pack-years
pack_years_fun_cat | Categorical smoking pack-years
pct_time_fun | Percent time in Canada
pct_time_fun_cat | Categorical percent time in Canada
RACDPAL_fun | Participation and Activity Limitation
recode_columns | recode_columns
recode_variable_NA_formating | Recode NA formatting
rec_with_table | Recode with Table
resp_condition_fun1 | resp_condition_fun1
resp_condition_fun2 | resp_condition_fun2
resp_condition_fun3 | resp_condition_fun3
set_data_labels | Set Data Labels
SMKDSTY_fun | Type of smokers
SMKG040_fun | Age started smoking daily - daily/former daily smokers
SMKG203_fun | Age started to smoke daily - daily smoker
SMKG207_fun | Age started to smoke daily - former daily smoker
smoke_simple_fun | Simple smoking status
SPS_5_fun | Five-item social provision scale (SPS-5)
time_quit_smoking_fun | Time since quit smoking
variables | variables.csv
variable_details | variable_details.csv