R/04-00-data_documentation_usethnicity.R

# \name{usethnicity}
# \alias{usethnicity}
# \docType{data}
# \title{
#   Data from Youth Risk Behaviour Survey
# }
# \description{
#   This data set contains variables on race and ethnic identification from the 2017 Youth Risk Behaviour Survey, together with two variables on smoking behaviour.  The YRBS is a multistage cluster-sampled survey, so valid inference about associations requires using survey design information. This subset is useful only for demonstration purposes.
# }
# \usage{data("usethnicity")}
# \format{
#   A data frame with 14765 observations on the following 4 variables.
#   \describe{
#     \item{\code{Q4}}{1 is "Hispanic or Latino}
#       \item{\code{Q5}}{Character string with zero or more of: A. American Indian or Alaska Native, B. Asian, C. Black or African American, D. Native Hawaiian or Other Pacific Islander, E. White}
#       \item{\code{QN30}}{1 is "smoked cigarettes on one or more of the past 30 days"}
#       \item{\code{QN31}}{1 is "smoked more than 10 cigarettes per day on the days they smoked during the past 30 days", those who did not smoke at all are \code{NA}}
#     }
#   }
#       \source{
#       \url{https://www.cdc.gov/healthyyouth/data/yrbs/data.htm}
#       }
#       \keyword{datasets}
#
#
mabafaba/categorical documentation built on May 3, 2020, 9 p.m.