Big-Life-Lab / cchsflow

Variable transformation and harmonization for the Canadian Community Health Survey
https://big-life-lab.github.io/cchsflow/
Other
11 stars 7 forks source link

Issue with adl_score_5_fun variable in cchsflow #132

Open BenHolahan opened 2 months ago

BenHolahan commented 2 months ago

Hello, I am trying to use the adl_score_5_fun function to code an adl_score variable with cchs data. However, I noticed that the function seems to add points to the score when the response is 2 instead of 1 (in the cchs, 1=yes, 2=no, so the function should add points when the function is equal to 1). Would someone be able to clarify this for me? Thanks!