shift_mctq | R Documentation |
A fictional dataset, for testing and learning purposes, composed of basic/measurable and computed variables of the Munich ChronoType Questionnaire (MCTQ) shift version.
This data was created following the guidelines in Juda, Vetter, & Roenneberg (2013), in addition to the guidelines found in Roenneberg, Wirz-Justice, & Merrow (2003), Roenneberg, Allebrandt, Merrow, & Vetter (2012), Jankowski (2017), and The Worldwide Experimental Platform (n.d.). See the References and Details sections to learn more.
shift_mctq
A tibble
with 135 columns and 50 rows:
A unique integer
value to identify each respondent in
the dataset.
Type: Control.
R class: integer
.
Number of days worked in morning shifts within a shift cycle.
Type: Basic.
R class: integer
.
Local time of going to bed on workdays between two morning shifts.
Statement (EN
): "I go to bed at ___ o'clock'".
Type: Basic.
R class: hms
.
Local time of preparing to sleep on workdays between two morning
shifts.
Statement (EN
): "I actually get ready to fall asleep at ___ o'clock".
Type: Basic.
R class: hms
.
Sleep latency or time to fall asleep after preparing to sleep on workdays
between two morning shifts.
Statement (EN
): "I need ___ minutes to fall asleep".
Type: Basic.
R class: Duration
.
Local time of sleep onset on workdays between two morning shifts.
Type: Computed.
R class: hms
.
Local time of sleep end on workdays between two morning shifts.
Statement (EN
): "I wake up at ___ o'clock".
Type: Basic.
R class: hms
.
Time to get up on workdays between two morning shifts.
Statement (EN
): "I get up after ___ minutes".
Type: Basic.
R class: Duration
.
Local time of getting out of bed on workdays between two morning
shifts.
Type: Computed.
R class: hms
.
A logical
value indicating if the respondent uses an
alarm clock to wake up on workdays between two morning shifts.
Statement (EN
): "I wake up at ___ o'clock: ( ___ ) with alarm ( ___ )
without alarm".
Type: Basic.
R class: logical
.
A logical
value indicating if the respondent has any
particular reasons for why they cannot freely choose their sleep times
on workdays between two morning shifts.
Statement (EN
): "There are particular reasons why I cannot freely
choose my sleep times on morning shifts: Yes ( ___ ) No ( ___ )".
Type: Basic.
R class: logical
.
Particular reasons for why the respondent cannot freely choose their sleep
times on workdays between two morning shifts.
Statement (EN
): "If "Yes": Child(ren)/pet(s) ( ___ ) Hobbies ( ___ )
Others, for example: ___".
Type: Basic.
R class: character
.
Sleep duration on workdays between two morning shifts.
Type: Computed.
R class: Duration
.
Total time in bed on workdays between two morning shifts.
Type: Computed.
R class: Duration
.
Local time of mid-sleep on workdays between two morning shifts.
Type: Computed.
R class: hms
.
A logical
value indicating if the respondent usually
takes a nap on workdays between two morning shifts.
Statement (EN
): "I usually take a nap: Yes ( ___ ) No ( ___ )".
Type: Basic.
R class: logical
.
Local time of nap onset on workdays between two morning shifts.
Statement (EN
): "If "Yes": I take a nap from ___ o'clock to ___ o'clock".
Type: Basic.
R class: hms
.
Local time of nap end on workdays between two morning shifts.
Statement (EN
): "If "Yes": I take a nap from ___ o'clock to ___ o'clock".
Type: Basic.
R class: hms
.
Nap duration on workdays between two morning shifts.
Type: Computed.
R class: Duration
.
24 hours sleep duration (sleep duration + nap duration) on workdays
between two morning shifts.
Type: Computed.
R class: Duration
.
Number of free days after working in morning shifts within a shift
cycle.
Type: Basic.
R class: integer
.
Local time of going to bed on work-free days between two free days after
morning shifts.
Statement (EN
): "I go to bed at ___ o'clock'".
Type: Basic.
R class: hms
.
Local time of preparing to sleep on work-free days between two free days
after morning shifts.
Statement (EN
): "I actually get ready to fall asleep at ___ o'clock".
Type: Basic.
R class: hms
.
Sleep latency or time to fall asleep after preparing to sleep on work-free
days between two free days after morning shifts.
Statement (EN
): "I need ___ minutes to fall asleep".
Type: Basic.
R class: Duration
.
Local time of sleep onset on work-free days between two free days after
morning shifts.
Type: Computed.
R class: hms
.
Local time of sleep end on work-free days between two free days after
morning shifts.
Statement (EN
): "I wake up at ___ o'clock".
Type: Basic.
R class: hms
.
Time to get up on work-free days between two free days after morning
shifts.
Statement (EN
): "I get up after ___ minutes".
Type: Basic.
R class: Duration
.
Local time of getting out of bed on work-free days between two free days
after morning shifts.
Type: Computed.
R class: hms
.
A logical
value indicating if the respondent uses an
alarm clock to wake up on work-free days between two free days after
morning shifts.
Statement (EN
): "I wake up at ___ o'clock: ( ___ ) with alarm ( ___ )
without alarm".
Type: Basic.
R class: logical
.
A logical
value indicating if the respondent has any
particular reasons for why they cannot freely choose their sleep times
on work-free days between two free days after morning shifts.
Statement (EN
): "There are particular reasons why I cannot freely
choose my sleep times on morning shifts: Yes ( ___ ) No ( ___ )".
Type: Basic.
R class: logical
.
Particular reasons for why the respondent cannot freely choose their sleep
times on work-free days between two free days after morning shifts.
Statement (EN
): "If "Yes": Child(ren)/pet(s) ( ___ ) Hobbies ( ___ )
Others, for example: ___".
Type: Basic.
R class: character
.
Sleep duration on work-free days between two free days after morning
shifts.
Type: Computed.
R class: Duration
.
Total time in bed on work-free days between two free days after morning
shifts.
Type: Computed.
R class: Duration
.
Local time of mid-sleep on work-free days between two free days after
morning shifts.
Type: Computed.
R class: hms
.
A logical
value indicating if the respondent usually
takes a nap on work-free days between two free days after morning
shifts.
Statement (EN
): "I usually take a nap: Yes ( ___ ) No ( ___ )".
Type: Basic.
R class: logical
.
Local time of nap onset on work-free days between two free days after
morning shifts.
Statement (EN
): "If "Yes": I take a nap from ___ o'clock to ___ o'clock".
Type: Basic.
R class: hms
.
Local time of nap end on work-free days between two free days after
morning shifts.
Statement (EN
): "If "Yes": I take a nap from ___ o'clock to ___ o'clock".
Type: Basic.
R class: hms
.
Nap duration on work-free days between two free days after morning
shifts.
Type: Computed.
R class: Duration
.
24 hours sleep duration (sleep duration + nap duration) on work-free days
between two free days after morning shifts.
Type: Computed.
R class: Duration
.
Overall sleep duration considering workdays between two morning shifts
and work-free days between two free days after morning shifts.
Type: Computed.
R class: Duration
.
Corrected local time of mid-sleep on work-free days between two free days
after morning shifts.
Type: Computed.
R class: hms
.
Relative social jetlag considering workdays between two morning shifts
and work-free days between two free days after morning shifts.
Type: Computed.
R class: Duration
.
Absolute social jetlag considering workdays between two morning shifts
and work-free days between two free days after morning shifts.
Type: Computed.
R class: Duration
.
Jankowski's relative sleep-corrected social jetlag considering workdays
between two morning shifts and work-free days between two free days
after morning shifts.
Type: Computed.
R class: Duration
.
Jankowski's sleep-corrected social jetlag considering workdays between
two morning shifts and work-free days between two free days after
morning shifts.
Type: Computed.
R class: Duration
.
For brevity, the subsequent variables, except for sjl_weighted and
sjl_sc_weighted (described below), are not shown here. That's because
they have the same configurations of the variables shown above, differing
only by shift (evening shift (_e
) and night shift (_n
)).
Absolute social jetlag across all shifts.
Type: Computed.
R class: Duration
.
#'
Jankowski's sleep-corrected social jetlag across all shifts.
Type: Computed.
R class: Duration
.
shift_mctq
is a tidied, validated, and transformed version of
raw_data("shift_mctq.csv")
.
To learn more about the Munich ChronoType Questionnaire (MCTQ), see Roenneberg, Wirz-Justice, & Merrow (2003), Roenneberg, Allebrandt, Merrow, & Vetter (2012), Roenneberg et al. (2015), and Roenneberg, Pilz, Zerbini, & Winnebeck (2019).
To know about different MCTQ versions, see Juda, Vetter, & Roenneberg (2013) and Ghotbi et al. (2020).
To learn about the sleep-corrected social jetlag, see Jankowski (2017).
If you're curious about the variable computations and want to have access to the full questionnaire, see The Worldwide Experimental Platform (n.d.).
This dataset was created by randomized sampling (see
random_mctq()
) and by manual insertions of special
cases. Its purpose is to demonstrate common cases and data issues that
researchers may find in their MCTQ data, in addition to be a suggested data
structure for MCTQ data.
You can see the shift_mctq
build and data wrangling processes
here.
The naming of the variables took into account the naming scheme used in MCTQ publications, in addition to the guidelines of the tidyverse style guide.
The mctq
package works with a set of object classes specially created to
hold time values. These classes can be found in the hms
and lubridate package.
Duration
objectsIf you prefer to view Duration
objects as
hms
objects, run
pretty_mctq(shift_mctq)
.
Created by Daniel Vartanian (package author).
Ghotbi, N., Pilz, L. K., Winnebeck, E. C., Vetter, C., Zerbini, G., Lenssen, D., Frighetto, G., Salamanca, M., Costa, R., Montagnese, S., & Roenneberg, T. (2020). The μMCTQ: an ultra-short version of the Munich ChronoType Questionnaire. Journal of Biological Rhythms, 35(1), 98-110. doi: 10.1177/0748730419886986
Jankowski K. S. (2017). Social jet lag: sleep-corrected formula. Chronobiology International, 34(4), 531-535. doi: 10.1080/07420528.2017.1299162
Juda, M., Vetter, C., & Roenneberg, T. (2013). The Munich ChronoType Questionnaire for shift-workers (MCTQ Shift). Journal of Biological Rhythms, 28(2), 130-140. doi: 10.1177/0748730412475041
Roenneberg T., Allebrandt K. V., Merrow M., & Vetter C. (2012). Social jetlag and obesity. Current Biology, 22(10), 939-43. doi: 10.1016/j.cub.2012.03.038
Roenneberg, T., Keller, L. K., Fischer, D., Matera, J. L., Vetter, C., & Winnebeck, E. C. (2015). Human activity and rest in situ. In A. Sehgal (Ed.), Methods in Enzymology (Vol. 552, pp. 257-283). Academic Press. doi: 10.1016/bs.mie.2014.11.028
Roenneberg, T., Pilz, L. K., Zerbini, G., & Winnebeck, E. C. (2019). Chronotype and social jetlag: a (self-) critical review. Biology, 8(3), 54. doi: 10.3390/biology8030054
Roenneberg, T., Wirz-Justice, A., & Merrow, M. (2003). Life between clocks: daily temporal patterns of human chronotypes. Journal of Biological Rhythms, 18(1), 80-90. doi: 10.1177/0748730402239679
The Worldwide Experimental Platform (n.d.). MCTQ. https://www.thewep.org/documentations/mctq/
Other datasets:
micro_mctq
,
std_mctq
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.