The General Social Survey (GSS) has been run by NORC every other year since 1972 to keep track of current opinions across the United States.
An excerpt of the GSS data called happy
is available from the classdata
package:
remotes::install_github("heike/classdata")
library(classdata) head(happy)
## happy year age sex marital degree finrela ## 1 not too happy 1972 23 female never married bachelor average ## 2 not too happy 1972 70 male separated lt high school above average ## 3 pretty happy 1972 48 female separated high school average ## 4 not too happy 1972 27 female separated bachelor average ## 5 pretty happy 1972 61 female separated high school above average ## 6 pretty happy 1972 26 male never married high school above average ## health polviews partyid wtssall ## 1 good <NA> ind,near dem 0.4446 ## 2 fair <NA> not str democrat 0.8893 ## 3 excellent <NA> independent 0.8893 ## 4 good <NA> not str democrat 0.8893 ## 5 good <NA> strong democrat 0.8893 ## 6 good <NA> ind,near dem 0.4446
You can find a codebook with explanations for each of the variables at https://gssdataexplorer.norc.org/