R/nhanes_data.R

#' NHANES 2009-2010
#'
#' A dataset containing information on health, healthcare, and demographics of adolescents
#' aged 18 - 30 in the United States from 2009 to 2010. This is a cleaned dataset 
#' which is only a subset of the 2009-2010 data release of
#' the National Health and Nutrition Examination Survey (NHANES).
#'
#' @format A data frame with 1417 rows and 24 variables:
#' \describe{
#'   \item{id}{individual ID}
#'   \item{gen_health}{general health indicator with five levels}
#'   \item{mod_active}{minutes of moderate activity}
#'   \item{vig_active}{minutes of vigorous activity}
#'   \item{home_meals}{number of home meals a week}
#'   \item{gender}{gender of the individual (factor with "male" or "female")}
#'   \item{age}{age of the individual in years}
#'   \item{marijuana}{whether the individual has used marijuana}
#'   \item{illicit}{whether the individual has used illicit drugs}
#'   \item{rehab}{whether the individual has been to rehab for their drug usage}
#'   \item{asthma}{whether the individual has asthma}
#'   \item{overweight}{whether the individual is overweight}
#'   \item{cancer}{whether the individual has cancer}
#'   \item{low_int}{rating of whether the individual has low interest in things}
#'   \item{down}{rating of whether the individual has felt down}
#'   \item{sleeping}{rating of whether the individual has had trouble sleeping}
#'   \item{low_energy}{rating of whether the individual has low energy}
#'   \item{appetite}{rating of whether the individual has lost appetite}
#'   \item{feel_bad}{rating of whether the individual has felt bad}
#'   \item{no_con}{rating of whether the individual has felt no confidence}
#'   \item{speak_move}{rating of whether the individual has trouble speaking/moving}
#'   \item{dead}{rating of whether the individual has wished he/she was dead}
#'   \item{difficulty}{rating of whether the individual has felt difficulty from the previous conditions}
#'   \item{active}{minutes of vigorous or moderate activity}
#' }
#' @source \url{https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/default.aspx?BeginYear=2009}
"nhanes_2010"
TysonStanley/furniture documentation built on Feb. 15, 2024, 11:40 p.m.