Dear all,
according to the info provided in the "Variables" tab of the MESA dataset (https://sleepdata.org/datasets/mesa/variables/wrksched5?v=0.4.0), the variable "wrksched5" represents the description of the participant's work schedule.
The associated dictionary is;
1: Day shift
2: Afternoon shift
3: Night shift
4: Split shift
5: Irregular shift / on-call
5: Rotating shifts
5: Do not work
However, in the data file itself, I see the following values (and proportions in the MESA dataset): 1.0 0.299366 2.0 0.026268 3.0 0.018569 4.0 0.009511 5.0 0.063859 6.0 0.009058 7.0 0.573370
I do think there is a small error in the dictionary. Given the age distribution of the participants, I would expect that the majority is retired (index = 7, although I might be biased as I do work in Western Europe). Thus, I think the last two values of the published dictionary should be corrected to:
6: Rotating shifts 7: Do not work
But I might also be mistaken.
Thank you in advance for your help.
Best regards,
Grégory
Thanks - you are correct about this being an error in the data dictionary. We have it slated for fixing in the next release (https://github.com/nsrr/mesa-data-dictionary/issues/21).
You are correct about 6: Rotating shifts and 7: Do not work.
We appreciate your diligence in exploring the data. We hope you have found the site useful!
This is fixed in the latest release (v0.5.0) - thanks again for posting about the issue here!