Skip to content

Conversation

@caitlink12
Copy link

The hearing variables HUI06, HUI07, HUI07A, HUI08, and HUI09 were included into variables and variable_details sheets. Master survey cycles for variables HUI06, HUI07, HUI08, and HUI09 master survey cycles include 2001, 2003, 2009-2010, and 2013-2014. For variable HUI07A, the master survey cycles include 2001, 2003, 2009-2010, 2013-2014, and 2017-2018.

Note: for survey cycle 2017-2018, the hearing variables are captured using the Washington Group Measure for disability. As such, the 2017-2018 variable WDM_101 is taken as an equivalent variable to HUI07A captured in previous cycles and harmonized to HUI07A.

changed master survey cycle suffixes from _i to _m for HUI06, HUI07, HUI07_A, HUI08, HUI09
@caitlink12 caitlink12 requested review from DougManuel and yulric and removed request for yulric January 21, 2026 18:36
Fix 6 issues in PR #160 HUI worksheets:
- I1: HUI06 databaseStart typo cchs_2009_2010_m -> cchs2009_2010_m
- I2: HUI06 variableStart typo HUAC_06 -> HUIC_06
- I3: HUI09 wrong source variable [HUI_08] -> [HUI_09]
- I4: All HUI06-09 rows had underscore typo in database names
- I5: HUI07A missing 2005 and 2007-2008 cycles
- I6: HUI09 missing 2011-2012 cycle

Add CEP-004 documentation with validation showing:
- 2003 PUMF has no Ontario data for HUI hearing/vision
- HUI 6-point scale vs Washington Group 4-point scale (2017-2018)
- Integration testing with rec_with_table()

Published: https://dmanuel.quarto.pub/cep-004-hearing-and-vision-variables
@DougManuel
Copy link
Contributor

Summary of review

Hearing variables (from your PR):

HUI06, HUI07, HUI07A, HUI08, HUI09 - individual hearing items
HUIGHER, HUIGVIS - grouped/derived variables

Vision variables (added):

  • Shouldn't have done, but reviewed these at the same time

HUI01, HUI02, HUI03, HUI04, HUI05 - individual vision items
Fixes applied to worksheets

Identified and corrected 6 issues in the original PR

  • HUI06 databaseStart typo cchs_2009_2010_m changed to cchs2009_2010_m
  • HUI06 variableStart typo HUAC_06 changed to HUIC_06
  • HUI09 uses wrong source variable [HUI_08] changed to [HUI_09]
  • All HUI06-09 rows have underscore typo in database names - fixed across all rows
  • HUI07A missing 2005 and 2007-2008 cycles - added missing cycles
  • HUI09 missing 2011-2012 cycle - added cycle

Analyses of availability for provinces, with a focus on Ontario older people, to support the study in progress.

During validation, we discovered that the 2003 PUMF has NO Ontario data for HUI hearing/vision variables (HUICGHER, HUICGVIS). The 2003 cycle only contains data from Atlantic provinces and Quebec. This is a data collection artefact, not a worksheet error, but it's important for users planning Ontario-based analyses.

Documentation

Published detailed documentation at:
https://dmanuel.quarto.pub/cep-004-hearing-and-vision-variables

This includes:

  • Variable concordance across CCHS cycles
  • Semantic mapping between HUI (6-point scale) and Washington Group (4-point scale)
  • Integration testing with rec_with_table()
  • Ontario availability matrices by age group

Next steps

Ready for merge. Future iterations may add:

  • Standalone WDM_005 (vision) and WDM_010 (hearing) variables for 2017-2018
  • HUIGHER_cat4 and HUIGVIS_cat4 derived variables for cross-era harmonisation

Copy link
Contributor

@DougManuel DougManuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments.

OK to merge after others have reviewed. @rafdoodle

@DougManuel DougManuel deleted the branch feature/v3.0.0-validation-infrastructure January 27, 2026 16:02
@DougManuel DougManuel closed this Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants