R/data-gss2010.R

#' 2010 General Social Survey
#'
#' Data from the 2010 General Social Survey.
#'
#'
#' @name gss2010
#' @docType data
#' @format A data frame with 2044 observations on the following 5 variables.
#' \describe{
#'   \item{hrsrelax}{After an average work day, about how many hours do you have to relax or pursue activities that you enjoy}
#'   \item{mntlhlth}{For how many days during the past 30 days was your mental health, which includes stress, depression, and problems with emotions, not good?}
#'   \item{hrs1}{Hours worked each week.}
#'   \item{degree}{Educational attainment or degree.}
#'   \item{grass}{Do you think the use of marijuana should be made legal, or not?}
#'   }
#' @source US 2010 General Social Survey.
#' @keywords datasets
#' @examples
#'
#'
#' gss2010
"gss2010"

Try the openintro package in your browser

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

openintro documentation built on Sept. 1, 2022, 9:06 a.m.