gss_cat {forcats} | R Documentation |
A sample of categorical variables from the General Social survey
Description
A sample of categorical variables from the General Social survey
Usage
gss_cat
Format
- year
year of survey, 2000–2014 (every other year)
- age
age. Maximum age truncated to 89.
- marital
marital status
- race
race
- rincome
reported income
- partyid
party affiliation
- relig
religion
- denom
denomination
- tvhours
hours per day watching tv
Source
Downloaded from https://gssdataexplorer.norc.org/.
Examples
gss_cat
fct_count(gss_cat$relig)
fct_count(fct_lump(gss_cat$relig))
[Package forcats version 1.0.0 Index]