The Gender Variable in the SHHS cohort takes the values 1 and 2, but the description of the variable (both online and in the .csv data dictionary) do not specify which value corresponds to male/female.
Which is which please? Might be a good idea to update that gender description too.
Thanks for raising the issue. In SHHS, gender has two levels: 1 = Male and 2 = Female.
Values for categorical variables are described in two places.
1. Online variable pages
2. 'domains.csv' file
Each categorical (type: 'choices') variable has a domain associated with it. These domains are fully described in the 'domains.csv' file, which is part of the data dictionary.
You mentioned the data dictionary CSV, so I'm guessing you were looking in the 'variables.csv' file. We have discussed possibly creating a combined version of 'variables' and 'domains' so as to not have to jump from one file to the next (i.e. 'variables.csv' references the 'gender12' domain, which is spelled out in 'domains.csv').
Perfect thanks, I had not looked in the domains file...