This dataset provides details on how variables are recoded in cchsflow.

Value

variable_details

a data frame

Details

See the below link for more details about how the worksheet is structured https://big-life-lab.github.io/cchsflow/articles/variable_details.html

Examples

data(variable_details)
str(variable_details)
#> 'data.frame':	2038 obs. of  16 variables:
#>  $ variable               : chr  "ADL_01" "ADL_01" "ADL_01" "ADL_01" ...
#>  $ dummyVariable          : chr  "ADL_01_cat2_1" "ADL_01_cat2_2" "ADL_01_cat2_NA::a" "ADL_01_cat2_NA::b" ...
#>  $ toType                 : chr  "cat" "cat" "cat" "cat" ...
#>  $ databaseStart          : chr  "cchs2001_p, cchs2003_p, cchs2005_p, cchs2007_2008_p, cchs2009_2010_p, cchs2010_p, cchs2011_2012_p, cchs2012_p, "| __truncated__ "cchs2001_p, cchs2003_p, cchs2005_p, cchs2007_2008_p, cchs2009_2010_p, cchs2010_p, cchs2011_2012_p, cchs2012_p, "| __truncated__ "cchs2001_p, cchs2003_p, cchs2005_p, cchs2007_2008_p, cchs2009_2010_p, cchs2010_p, cchs2011_2012_p, cchs2012_p, "| __truncated__ "cchs2001_p, cchs2003_p, cchs2005_p, cchs2007_2008_p, cchs2009_2010_p, cchs2010_p, cchs2011_2012_p, cchs2012_p, "| __truncated__ ...
#>  $ variableStart          : chr  "cchs2001_p::RACA_6A, cchs2003_p::RACC_6A, cchs2005_p::RACE_6A, cchs2007_2008_p::RAC_6A, cchs2015_2016_p::ADL_00"| __truncated__ "cchs2001_p::RACA_6A, cchs2003_p::RACC_6A, cchs2005_p::RACE_6A, cchs2007_2008_p::RAC_6A, [ADL_01]" "cchs2001_p::RACA_6A, cchs2003_p::RACC_6A, cchs2005_p::RACE_6A, cchs2007_2008_p::RAC_6A, [ADL_01]" "cchs2001_p::RACA_6A, cchs2003_p::RACC_6A, cchs2005_p::RACE_6A, cchs2007_2008_p::RAC_6A, [ADL_01]" ...
#>  $ fromType               : chr  "cat" "cat" "cat" "cat" ...
#>  $ recTo                  : chr  "1" "2" "NA::a" "NA::b" ...
#>  $ numValidCat            : chr  "2" "2" "2" "2" ...
#>  $ catLabel               : chr  "Yes" "No" "not applicable" "missing" ...
#>  $ catLabelLong           : chr  "Yes" "No" "not applicable" "missing" ...
#>  $ units                  : chr  "N/A" "N/A" "N/A" "N/A" ...
#>  $ recFrom                : chr  "1" "2" "6" "[7,9]" ...
#>  $ catStartLabel          : chr  "Yes" "No" "not applicable" "don't know (7); refusal (8); not stated (9)" ...
#>  $ variableStartShortLabel: chr  "Needs help - preparing meals" "Needs help - preparing meals" "Needs help - preparing meals" "Needs help - preparing meals" ...
#>  $ variableStartLabel     : chr  "Because of any condition or health problem, do you need the help of another person in preparing meals?" "Because of any condition or health problem, do you need the help of another person in preparing meals?" "Because of any condition or health problem, do you need the help of another person in preparing meals?" "Because of any condition or health problem, do you need the help of another person in preparing meals?" ...
#>  $ notes                  : chr  "" "" "" "" ...