workdays: Work Days Missed

Description Usage Format Details Source References Examples


Data from the U.S. National Survey on Drug Use and Health on the frequency with which individuals miss work due to mental health issues and other covariates.




A data frame with 777 observations on the following 8 variables.


Reported age that the respondent first smoked a cigarette.


Reported days in the past year the respondent was unable to work due to mental health (see details).


Respondent age (see details).


Has the respondent been in the U.S. Armed Forces? (1=yes, 0=no)


Rating of overall health, where 1 is excellent and 5 is poor.


Number of times the respondent moved in the past 12 months.


Whether the respondent is enrolled in any school (1=yes, 0=no).


Type of county in which the respondent resides: large metro (large), small metro (small), nonmetro (nonmetro).


Variable names match those from the National Survey on Drug Use and Health, so more details can be obtained from the survey codebook. Missing data codes have been changed to NA. Additionally, age2 is coded so that 7 means 18 years of age, 8 means 19 years of age, ..., 11 means 22 or 23 years of age, 12 means 24 or 25 years, 13 means 26-29, 14 means 30-34, 15 means 35-49, 16 means 50-64, and 17 means 65 and over.

The variable impydays contains responses to the question "About how many days out of 365 in the past 12 months were you totally unable to work or carry out your normal activities because of your emotions, nerves, or mental health?"


Obtained from the Inter-University Consortium for Political and Social Research, University of Michigan,


United States Department of Health and Human Services. Substance Abuse and Mental Health Services Administration. Center for Behavioral Health Statistics and Quality. National Survey on Drug Use and Health, 2010. ICPSR32722-v1. Ann Arbor, MI: Inter-university Consortium for Political and Social Research [distributor], 2011-12-05. doi:10.3886/ICPSR32722.v1


data("workdays", package="smdata")

smdata documentation built on May 19, 2017, 6:57 p.m.

Search within the smdata package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.