R/data_depressive.R

#' @title Depressive Symptoms Data
#'
#' @description Subset of data from the National Longitudinal Survey of Youth 
#' (NLSY) 1979 Children and Young Adults. This dataset includes survey responses 
#' about feelings and behaviors linked to depressive symptoms in children and 
#' young adults. For more information about the National Longitudinal Survey of 
#' Youth, visit: \url{https://www.nlsinfo.org/}.
#'
#' @format A data frame with 11,551 rows and 12 columns:
#' \describe{
#' \item{cid}{Child identification number)}
#' \item{race}{race of child (1 = Hispanic, 2 = Black, 3 = Non-Black,Non-Hispanic)}
#' \item{sex}{sex of child (1 = male, 2 = female)}
#' \item{yob}{year of child's bith}
#' \item{dep_1}{how often child feels sad and blue (1 = often, 2 = sometimes,
#' 3 = hardly ever)}
#' \item{dep_2}{how often child feels nervous, tense, or on edge (1 = often,
#' 2 = sometimes, 3 = hardly ever)}
#' \item{dep_3}{how often child feels happy (1 = often, 2 = sometimes,
#' 3 = hardly ever)}
#' \item{dep_4}{how often child feels bored (1 = often, 2 = sometimes,
#' 3 = hardly ever)}
#' \item{dep_5}{how often child feels lonely (1 = often, 2 = sometimes,
#' 3 = hardly ever)}
#' \item{dep_6}{how often child feels tired or worn out (1 = often,
#' 2 = sometimes, 3 = hardly ever)}
#' \item{dep_7}{how often child feels excited about something (1 = often,
#' 2 = sometimes, 3 = hardly ever)}
#' \item{dep_8}{how often child feels too busy to get everything (1 = often,
#' 2 = sometimes, 3 = hardly ever)}
#' }
"depressive"

Try the summarytabl package in your browser

Any scripts or data that you put into this service are public.

summarytabl documentation built on Nov. 6, 2025, 5:07 p.m.