Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
47625ee
temp
caitlink12 Feb 4, 2026
024f854
CCC_071
caitlink12 Feb 4, 2026
a41f106
CCC_091
caitlink12 Feb 4, 2026
96cdb8d
CCC_101
caitlink12 Feb 4, 2026
7230001
CCC_111
caitlink12 Feb 4, 2026
fd214fb
CCC_121
caitlink12 Feb 4, 2026
fd2c840
CCC_151
caitlink12 Feb 4, 2026
6b75659
CCC_280
caitlink12 Feb 4, 2026
31cb65f
Fixed variableStart and databaseStart for CCC_ variables Caitlin modi…
rafdoodle Feb 19, 2026
bd90746
Fix _s databases and dummyVariable naming for CCC variables
DougManuel Feb 20, 2026
3c53629
Add CEP-012 chronic conditions review artifacts for PR #167
DougManuel Feb 20, 2026
b97f8b6
Refactored CCC_091 (2001-2008) with new functions; added Master data …
rafdoodle Mar 13, 2026
7cf276c
Added/fixed rows for CCC_091 and COPD_Emph_der
rafdoodle Mar 18, 2026
5c1a8c3
Refactored resp_condition_der by adding _m data and using only one fu…
rafdoodle Mar 18, 2026
902ce94
Minor - CCC_091 labels in variable_details.csv
rafdoodle Mar 19, 2026
873d071
temp
caitlink12 Apr 1, 2026
51f0de8
CCC_041
caitlink12 Apr 1, 2026
a05b3fa
CCC_072
caitlink12 Apr 1, 2026
ce7b912
CCC_073
caitlink12 Apr 1, 2026
a5bd406
CCC_073A
caitlink12 Apr 1, 2026
dfb6dae
CCC_073B
caitlink12 Apr 1, 2026
02eb703
CCC_075
caitlink12 Apr 1, 2026
2f27b91
CCC_102_A
caitlink12 Apr 1, 2026
ccfe221
CCC_102_B
caitlink12 Apr 1, 2026
3285191
CCC_102_cont
caitlink12 Apr 1, 2026
a06e934
CCC_106
caitlink12 Apr 1, 2026
326135b
CCC_141
caitlink12 Apr 1, 2026
933056a
reorder categories
caitlink12 Apr 1, 2026
ca4091f
CCC_161
caitlink12 Apr 1, 2026
cabeffc
CCC_171 & CCC_17A
caitlink12 Apr 1, 2026
1ac65d8
reordered CCC_17A
caitlink12 Apr 1, 2026
abf0033
CCC_251
caitlink12 Apr 2, 2026
22674d3
CCC_261
caitlink12 Apr 2, 2026
8843d57
CCC_290
caitlink12 Apr 2, 2026
f2a5b09
CCC_31A
caitlink12 Apr 2, 2026
7c390c9
Added _m data information to remaining CCC_ variables in variables.cs…
rafdoodle Apr 3, 2026
5d492ed
Refactored three CCC_102 variants into continuous CCC_102 for both Ma…
rafdoodle Apr 3, 2026
7b65493
number_condtions
rafdoodle Apr 3, 2026
66f8e19
Minor correction to CCC_106 dummyVariable NA rows
rafdoodle Apr 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
*.DS_Store
docs/
..Rcheck/
/.claude
8 changes: 4 additions & 4 deletions R/number-conditions.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#' respiratory condition (1 = respondent is over the age of 35 and has
#' a respiratory condition, 2 = respondent is under the age of 35 and has a
#' respiratory conditions, 3 = respondent does not have a respiratory
#' condition). See \code{\link{resp_condition_fun1}} for
#' condition). See \code{\link{resp_condition_fun}} for
#' documentation on how variable was derived.
#'
#' @param CCC_051 variable indicating if respondent has arthritis or
Expand Down Expand Up @@ -146,7 +146,7 @@ multiple_conditions_fun1 <-
#' respiratory condition. (1 = respondent is over the age of 35 and has
#' a respiratory condition, 2 = respondent is under the age of 35 and has a
#' respiratory conditions, 3 = respondent does not have a respiratory
#' condition). See \code{\link{resp_condition_fun1}} for
#' condition). See \code{\link{resp_condition_fun}} for
#' documentation on how variable was derived.
#'
#' @param CCC_051 variable indicating if respondent has arthritis or
Expand All @@ -156,8 +156,8 @@ multiple_conditions_fun1 <-
#' @details mood disorder (CCC_280) was not asked to respondents in the 2001
#' CCHS survey cycle. This mean respondents in this cycle will only be able to
#' have a maximum of 6 chronic conditions as opposed to 7 for respondents in
#' other cycles. \code{\link{multiple_conditions_fun1}} is used for CCHS cycles
#' from 2003 to 2014.
#' other cycles. \code{\link{multiple_conditions_fun1}} is used for the 2001
#' CCHS cycle.
#'
#' @return A categorical variable indicating the number of chronic conditions
#' a respondent has. Respondents with 5 or more conditions are grouped in the
Expand Down
Loading
Loading