You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refresh cchsflow worksheet snapshot with cat5, SMKG040, and SMKG035 fixes
Pull in three further cchsflow v3 worksheet repairs (now in upstream
PR Big-Life-Lab/cchsflow#186):
- SMKDSTY_cat5 2015+ recoded to the post-2015 SMKDVSTY codes; former
daily smokers are no longer classified as occasional, never-smokers
no longer NA(b), and time_quit_smoking_daily now derives for 2015+
cycles (25% non-missing in 2015-16, matching the former-daily share).
- SMKG040/SMKG040_cont no longer claim cchs2019_2020_p (raw SMKG040
absent from the 2019-20 PUMF); matching claim dropped from
cshm-variables.csv.
- SMKG01C_cont maps cchs2015_2016_p code 11 to NA(a): StatCan shipped
the 2015-16 PUMF with valid skip and not stated pooled into SMKG035
code 11, which the uniform midpoint rule turned into age 55 at first
cigarette for ~44k never-smokers. age_first_cigarette for 2015-16
returns to 58.8% non-missing (median 16) from a corrupt 100%.
Forensics: Big-Life-Lab/cchsflow-data#3.
SMKG01C_cont,N/A,cont,"cchs2015_2016_p",cchs2015_2016_p::SMKG035,,cat,NA::a,11,not applicable,not applicable,years,11,50+ years,Age 1st cig,Age smoked first whole cigarette,StatCan defect in 2015-2016 PUMF: SMKG035 code 11 pools valid skip (~44k) and not stated (~1.3k) with true age 50+ (~95); official data dictionary lists 11 = 45737 with no 96/99 rows. Mapped to NA::a (dominant class). See cchsflow-data#3.,3.0.0-alpha,2026-01-04,active,Added 2015-2016 exception row for StatCan SMKG035 defect.,,
0 commit comments