Skip to contents

Data from the 2010 General Social Survey.

Usage

gss2010

Format

A data frame with 2044 observations on the following 5 variables.

hrsrelax

After an average work day, about how many hours do you have to relax or pursue activities that you enjoy

mntlhlth

For how many days during the past 30 days was your mental health, which includes stress, depression, and problems with emotions, not good?

hrs1

Hours worked each week.

degree

Educational attainment or degree.

grass

Do you think the use of marijuana should be made legal, or not?

Source

US 2010 General Social Survey.

Examples



gss2010
#> # A tibble: 2,044 × 5
#>    hrsrelax mntlhlth  hrs1 degree         grass    
#>       <int>    <int> <int> <fct>          <fct>    
#>  1        2        3    55 BACHELOR       NA       
#>  2        4        6    45 BACHELOR       LEGAL    
#>  3       NA       NA    NA LT HIGH SCHOOL NA       
#>  4       NA       NA    NA LT HIGH SCHOOL NOT LEGAL
#>  5       NA       NA    NA LT HIGH SCHOOL NOT LEGAL
#>  6       NA       NA    NA LT HIGH SCHOOL LEGAL    
#>  7        3        0    45 JUNIOR COLLEGE NA       
#>  8       NA       NA    NA JUNIOR COLLEGE NA       
#>  9        0        0    40 HIGH SCHOOL    NOT LEGAL
#> 10        5       10    48 HIGH SCHOOL    NA       
#> # ℹ 2,034 more rows