The National Sleep Foundation conducted a survey on the sleep habits of randomly sampled transportation workers and a control sample of non-transportation workers.
sleep - a factor with levels <6, 6-8, and >8
profession - a factor with levels bus / taxi / limo drivers, control, pilots, train operators, truck drivers
Source
National Sleep Foundation, 2012 Sleep in America Poll: Transportation Workers' Sleep, 2012. https://sleepfoundation.org/sleep-polls-data/sleep-in-america-poll/2012-transportation-workers-and-sleep
Use the following R code to directly access this dataset in R.