Package {vannstats}


Title: Simplified Statistical Procedures for Social Sciences
Version: 1.6.8.16
Description: Simplifies functions to conduct univariate, bivariate, and multivariate statistical techniques. Includes functions designed to replicate plots and tables that would result from similar calls in 'SPSS', including hst(), box(), qq(), tab(), cormat(), and residplot(). Also includes simplified formulae, such as mode(), scatter(), p.corr(), ow.anova(), and rm.anova().
Depends: R (≥ 3.2.3)
Encoding: UTF-8
Imports: gdata, plm, dplyr, ggplot2, rlang, purrr, stats, graphics, formula.tools, gplots, rstatix, stringr, ggrepel, ggpubr, DescTools, reshape2
License: GPL-3
LazyData: true
LazyDataCompression: xz
NeedsCompilation: no
RoxygenNote: 7.3.3
Author: Burrel Vann Jr ORCID iD [aut, cre]
Maintainer: Burrel Vann Jr <bvannjr@sdsu.edu>
URL: https://github.com/burrelvannjr/vannstats, https://vannstats.burrelvannjr.com/
BugReports: https://github.com/burrelvannjr/vannstats/issues
Packaged: 2026-08-19 19:50:21 UTC; burrelvannjr
Repository: CRAN
Date/Publication: 2026-08-20 02:40:02 UTC

Defendants, 2025 (Individual-Level)

Description

This is a simulated data set, created in 2025. These data represent cases for individual defendants held at the Richard J. Donovan Correctional Facility in San Diego, CA. These data were simulated by Dr. Burrel Vann Jr, and represent a random sample of individuals held in the Center in 2025. Each observation in the data set represents a unique individual defendant, and the unique characteristics tied to their court case.

Usage

Defendants2025

Format

A data frame with 1738 observations and 11 variables.

id Unique defendant identifier
age The defendant's age
race Race of the defendant
race_binary race, broken into a binary/dummy variable, measuring whether or not the defendant is white
charge The crime the defendant was charged with
gang Whether or not the defendant is affiliated with a gang
priors The number of prior misdemeanors the defendant has
gun Whether or not a gun was involved in this case
risk_score A judge's risk-of-reoffending score for the defendant
bail The bail amount for the defendant
perkins Whether or not a Perkins Operation was conducted on defendant while in custody

General Social Survey, 2014

Description

This subset of data comes from one iteration of the General Social Survey, administered in 2014. These data were collected by the National Opinion Research Center (NORC) at the University of Chicago. The observations represent individuals' responses to survey questions. Information about the data set can be found in the GSS Codebook at: https://burrelvannjr.com/docs/GSS_Codebook.pdf.

Usage

GSS2014

Format

A data frame with 2538 observations and 676 variables.

id respondent id number
age age of respondent
sex respondents sex (1 = Male, 2 = Female)
race race of respondent
educ highest year of school completed
dipged diploma, ged, or other
paeduc highest year school completed, father
maeduc highest year school completed, mother
speduc highest year school completed, spouse
sei10 r's socioeconomic index (2010)
conrinc respondent income in constant dollars
coninc family income in constant dollars
degree rs highest degree
padeg fathers highest degree
madeg mothers highest degree
spdeg spouses highest degree
citizen are you a citizen of america?
born was r born in this country
year gss year for this respondent
cohort year of birth
spsei10 r's spouse's socioeconomic index (2010)
pasei10 r's father's socioeconomic index (2010)
masei10 r's mother's socioeconomic index (2010)
childs number of children
immcrime immigrants increase crime rates
abany abortion if woman wants for any reason
abdefect strong chance of serious defect
abhlth womans health seriously endangered
abnomore married--wants no more children
abpoor low income--cant afford more children
abrape pregnant as result of rape
absingle not married
accptoth r accept others even when they do things wrong
acqntsex r had sex with acquaintance last year
actassoc how important to be active on soc or pol association
actlaw how likely r to do something if unjust law being cons
adults household members 18 yrs and older
advfront sci rsch is necessary and should be supported by federal govt
affctlaw how lliely congress give serious attention to rs dema
affrmact favor preference in hiring blacks
aged should aged live with their children
aidscndm condom can reduce aids
aidslook a health-look person may have aids
amancstr how important to have american ancestry
ambetter agree america is a better country
ambornin how important to have been born in america
amchrstn how important to be a christian
amcit how important to have american citizenship
amcitizn agree i would rather be a citizen of america
amcult it is impossible to become fully american
amenglsh how important to be able to speak english
amfeel how important to feel american
amgovt how important to respect america's laws etc
amlived how important to have lived in america for life
amownway america should follow its own interests
amproud1 how proud being american
amshamed agree there are things make me ashamed
amsports agree sports makes me proud to be an american
amtv tv should give preference to american films
arthrtis told have arthritis or rheumatism
astrolgy ever read a horscope or persoanl astrology report
astrosci astrology is scientific
attend how often r attends religious services
attrally attended a political meeting or rally
avoidbuy boycotted products for pol reasons
babies household members less than 6 yrs old
backpain r had back pain in the past 12 months
balneg sci research is strongly in favor of harmful results
balpos sci research is strongly in favor of benefits
befair how often do you think people take advantage
belikeus agree better if people were more like americans
bettrlfe science makes our lives better
betrlang which language r speaks more fluent
bible feelings about the bible
bigbang sci knowledge:the universe began with a huge explosion
boyorgrl sci knowledge:father gene decides sex of baby
buypol how important to choose products for pol reasons
buyvalue percent of company stock r bought from own money
cantrust poeple can be trusted or cant be too careful
cappun favor or oppose death penalty for murder
careself those in need have to take care of themselves
carried r carried a stranger's belongings
chldidel ideal number of children
chngeoth how often r try to persuade other to share views
chngtme how often r allowed change schedule
choices political parties dont give real policy choices
citworld i am a citizen of the world
class subjective class identification
closeblk how close feel to blacks
closewht how close feel to whites
clsenoam how close do you feel to north america
clsestat how close do you feel to your state
clsetown how close do you feel to your town or city
clseusa how close do you feel to america
cntctgov contacted politician or civil servant to express view
colath allow anti-religionist to teach
colcom should communist teacher be fired
coldeg1 the highest degree r have earned
colhomo allow homosexual to teach
colmil allow militarist to teach
colmslm allow anti-american muslim clergymen teaching in college
colrac allow racist to teach
colsci r has taken any college-level sci course
colscinm number of college-level sci courses r have taken
compperf size of perf based pay depend on profits
comprend rs understanding of questions
compuse r use computer
conarmy confidence in military
conbus confidence in major companies
conclerg confidence in organized religion
condemnd r free from conflicting demands
condom used condom last time
condrift sci knowledge:the continents have been moving
coneduc confidence in education
confed confid. in exec branch of fed govt
confinan confid in banks & financial institutions
conjudge confid. in united states supreme court
conlabor confidence in organized labor
conlegis confidence in congress
conmedic confidence in medicine
conpress confidence in press
consci confidence in scientific community
contv confidence in television
corruptn how widespread corruption is in pub service in americ
courts courts dealing with criminals
cowrkhlp coworkers can be relied on when r needs help
cowrkint coworkers take a personal interest in r
crack30 r last use crack cocaine
crimlose people convicted of serious crimes lose citizen rights
cutahead r allowed a stranger to go ahead of you in line
decsorgs america should follow decision of intl org
defpensn r has defined benefit pension plan
dem10fut how well will democracy work in america in ten yrs
dem10pst how well did democracy work in america ten yrs ago
demtoday how well democracy work in america
denom specific denomination
denom16 denomination in which r was raised
depress told have depression
diabetes told have diabetes
directns r has given directions to a stranger
discaff whites hurt by aff. action
discaffm a man won't get a job or promotion
discaffw a woman won't get a job or promotion
discpol how often r discuss politics
divlaw divorce laws
divorce ever been divorced or separated
dwelown does r own or rent home?
earnrs how many in family earned money
earthsun sci knowledge:the earth goes around the sun
effctsup supervisor effective solve work/personal conflicts
elecfair how fair last natl election:opprtunities of candidate
electron sci knowledge:electrons are smaller than atoms
elecvote how honest last natl election:counting of votes
emailhr email hours per week
emailmin email minutes per week
empinput r involved in any task force for decision-making
emptrain received formal training from employer
eqwlth should govt reduce income differences
esop r is member of esop
ethnic country of family origin
evcrack r ever use crack cocaine
evidu r ever inject drugs
evolved sci knowledge:human beings developed from animals
evpaidsx ever have sex paid for or being paid since 18
evstray have sex other than spouse while married
evwork ever work as long as one year
excldimm america should exclude illegal immigrants
expdesgn better way to test drug btw control and non-control
exptext why is it better to test drug this way
extrapay eligible for performance based pay
extrayr year of the most recent perf based payments
fair people fair or try to take advantage
fairearn how fair is what r earn on the job
famgen number of family generations in household
family16 living with parents when 16 yrs old
famvswk how often fam life interfere job
famwkoff how hard to take time off
fear afraid to walk at night in neighborhood
fechld mother working doesnt hurt children
feelevel amount of fees paid
feeused fee given to get case
fefam better for man to work, woman tend home
fehire should hire and promote women
fejobaff for or against preferential hiring of women
fepol women not suited for politics
fepresch preschool kids suffer if mother works
finalter change in financial situation
finrela opinion of family income
forland foreigners should not be allowed to buy land
form form of split questionnaire asked
freetrde free trade leads to better products
fringeok fringe benefits are good
frndsex r had sex with friend last year
fucitzn is r planning/appling for us citizenship or not
fund how fundamentalist is r currently
fund16 how fundamentalist was r at age 16
getahead opinion of how people get ahead
givblood r donated blood during the past 12 months
givchrty r has given money to a charity
givhmlss r has given food or money to a homeless person
givseat r offered seat to a stranger during past 12 months
god rs confidence in the existence of god
goodlife standard of living of r will improve
govdook we can trust people in govt
granborn how many grandparents born outside u.s.
grass should marijuana be made legal
grpother r belongs to another voluntary association
grpparty r belongs to a political party
grprelig r belongs to a church or othr religious organization
grpsprts r belongs to a sports, leisure, or cultural grp
grpwork r belongs to a trade union or professtional associati
gunlaw favor or oppose gun permits
gvtrghts (on a scale of 1 to 7, where 1 is not at all important and 7 is very important
handmove r perform forceful hand movements
hapcohab happiness of relt with partner
hapmar happiness of marriage
happy general happiness
haveinfo enough info to get the job done
health condition of health
health1 rs health in general
hefinfo number of hef informant
height r is how tall
helpaway r looked after plant or pet of others while away
helpblk should govt aid blacks?
helpful people helpful or looking out for selves
helphwrk helped someone with hwork during past 12 months
helpjob helped somebody to find a job past 12 months
helpnot should govt do more or less?
helpoth to help others
helppoor should govt improve standard of living?
helpsick should govt help pay for medical care?
helpusa how important to help worse off ppl in america
helpwrld how important to help worse off ppl in rest of world
hhtype household type
hhtype1 household type (condensed)
hispanic hispanic specified
hivkiss kiss can spread hiv
hivtest have you ever been tested for hiv
hivtest1 in what month and year was your last hiv test
hivtest2 where did you have your last hiv test
hivvac there is a vaccine that can prevent hiv
hlpequip enough help and equip to ge the job done
hlthall healthcare provided for everyone
hlthdays days of activity limitation past 30 days
homosex homosexual sex relations
hompop number of persons in household
hotcore sci knowledge: the center of earth is very hot
hrs1 number of hours worked last week
hrs2 number of hours usually work a week
hrsrelax hours per day r have to relax
hsbio r ever took a high school biology course
hschem r ever took a high school chemistry course
hsmath the highest level of math r completed in high school
hsphys r ever took a high school physics course
hunt does r or spouse hunt
hurtatwk number of injuries on the job past 12 months
hvylift r do repeated lifting
hyperten told have hypertension or high blood pressure
idu30 r inject drugs in past 30 days
if08who who you would have voted for
if12who who would r have voted for in 2012 election
ifwrong agree people should support their country
immameco immigrants good for america
immassim what statement about immigrants matches view
immcult immigrants undermine american culture
immeduc legal immigrants should have same education as americans
immideas immigrants make america more open
immjobs immigrants take jobs away
immrghts legal immigrants should have same right as american
imports america should limit the import
incom16 rs family income when 16 yrs old
income total family income
income06 total family income
indperf size of perf based pay depend on individual
intecon interested in economic issues
inteduc interested in local school issues
intenvir interested in environmental issues
interpol joined an internet political forum
intfarm interested in farm issues
intintl interested in international issues
intlblks unintelligent - intelligent
intlincs largee intl company damage to local business
intlwhts unintelligent -intelligent
intmed interested in medical discoveries
intmil interested in military policy
intrhome internet access in r's home
intsci interested in new scientific discoveries
intspace interested in space exploration
inttech interested in technologies
jobfind could r find equally good job
jobfind1 how easy for r to find a same job
jobhour short working hours
jobinc high income
joblose is r likely to lose job
jobmeans work important and feel accomplishment
jobpromo chances for advancement
jobsec no danger of being fired
jobsecok the job security is good
joindem took part in a demonstration
kidssol rs kids living standard compared to r
knowschd how far in advance know work schedule
knowwhat r knows what's expected on job
laidoff r was laid off main job last year
lasers sci knowledge:lasers work by focusing sound waves
learnnew job requires r to learn new things
leftrght how left or right in politics
lentto lent money to another person past 12 months
lessprd agree often less proud of america
letdie1 allow incurable patients to die
letin1 number of immigrants to america nowadays should be
letin1a number of immigrants nowadays should be
libath allow anti-religious book in library
libcom allow communists book in library
libhomo allow homosexuals book in library
libmil allow militarists book in library
libmslm allow anti-american muslim clergymen's books in library
librac allow racists book in library
life is life exciting or dull
liveblks neighborhood half black
livewhts r favors living in half white neighborhood
loanitem r has let someone borrow a item of some value
localnum number of employees: rs work site
maind10 mothers industry code (naics 2007)
major1 college major 1
major2 college major 2
majorcol the field of degree r earned
manvsemp relations bw management and employees
maocc10 mothers census occupation code (2010)
marasian close relative marry asian
marblk close relative marry black
marhisp close relative marry hispanic
marhomo homosexuals should have right to marry
marital marital status
martype marital type
marwht r favor close relative marrying white person
matesex was 1 of rs partners spouse or regular
mawrkgrw mothers employment when r was 16
mawrkslf mother self-emp. or worked for somebody
meltpot1 better to maintain distinct cultures
meovrwrk men hurt family when focus on work too much
mincult ethnic minorities should be given gov assistance
misswork miss work for health past 30 days
mntlhlth days of poor mental health past 30 days
mobile16 geographic mobility since age 16
mode interview done in-person or over the phone
moredays days per month r work extra hours
mustwork mandatory to work extra hours
nafta1 how much heard or read about nafta?
nafta2a america benefits from being a member of nafta?
nataid foreign aid
nataidy assistance to other countries -- ver y
natarms military, armaments, and defense
natarmsy national defense -- version y
natchld assistance for childcare
natcity solving problems of big cities
natcityy assistance to big cities -- version y
natcrime halting rising crime rate
natcrimy law enforcement -- verison y
natdrug dealing with drug addiction
natdrugy drug rehabilitation -- version y
nateduc improving nations education system
nateducy education -- version y
natenrgy developing alternative energy sources
natenvir improving & protecting environment
natenviy the environment -- version y
natfare welfare
natfarey assistance to the poor -- version y
natheal improving & protecting nations health
nathealy health -- version y
natmass mass transportation
natpark parks and recreation
natrace improving the conditions of blacks
natracey assistance to blacks -- version y
natroad highways and bridges
natsci supporting scientific research
natsoc social security
natspac space exploration program
natspacy space exploration -- version y
news how often does r read newspaper
newsfrom main source of information about events in the news
nextgen science & tech. give more opportunities to next generation
notvote citizens have right not to vote
ntcitvte long-term residents should vote
ntwkhard past week not work hard enough
numemps number of employee for the self-employed
nummen number of male sex partners since 18
numorg number of people working in organization at all locations
numwomen number of female sex partners since 18
obey to obey
obeylaws how important always to abey laws
opdevel opportunity to develop my abilities
oppsegov how important:citizen engage in acts of civil disobed
oth16 other protestant denominations
other other protestant denominations
othersex r had sex with some other last year
othjew consider self to be jewish
othlang can r speak language other than english
othlang1 what other languages does r speak
othlang2 what other languages does r speak
othreasn how important to try to undrstnd reasonings of othr o
othshelp people should help less fortunate others
oversamp weights for black oversamples
overwork r has too much work to do well
owngun have gun in home
ownstock r has stock in rs company
paidsex r had sex for pay last year
painarms r had pain in the arms in the past 12 months
paind10 fathers industry code (2010)
paocc10 fathers census occupation code (2010)
parborn were rs parents born in this country
parcit were your parents citizens of america?
parsol rs living standard compared to parents
partfull was r's work part-time or full-time?
partners how many sex partners r had in last year
partnrs5 how many sex partners r had in last 5 years
partteam r work as part of a team
partyid political party affiliation
patriot1 patriotic feelings strengthen america's place in world
patriot2 patriotic feelings lead to intolerance in america
patriot3 patriotic feelings are needed for america to remain united
patriot4 patriotic feelings lead to negative feelings towards immigrants
pawrkslf father self-emp. or worked for somebody
paytaxes how important never to try to evade taxes
peocntct how many people in contact in a typical weekday
peoptrbl assisting people in trouble is very important
phase subsampling: two-phase design.
phone does r have telephone
physhlth days of poor physical health past 30 days
pikupsex r had sex with casual date last year
pillok birth control to teenagers 14-16
pistol pistol or revolver in home
polabuse citizen said vulgar or obscene things
polactve pol party encourge ppl to be active in politics in am
polattak citizen attacking policeman with fists
poleff11 don't have any say about what the government does
poleff18 govt do not care much what ppl like r think
poleff19 r have a good understanding of pol issues
poleff20 most ppl are better informed about politics than r is
polescap citizen attempting to escape custody
polfunds donated money or raised funds for soc or pol activity
polgreed most politicians are only for what get out of politics
polhitok ever approve of police striking citizen
polint1 how interested in politics
polinter expressed political views on internet past year
polmurdr citizen questioned as murder suspect
polnews how often use media to get political news
polopts how important:ppl given chance to participate in deci
polviews think of self as liberal or conservative
popespks pope is infallible on matters of faith or morals
popular to be well liked or popular
pornlaw feelings about pornography laws
posslq does r have marital partner
posslqy relationship status and cohabitation or not
postlife belief in life after death
powrorgs intl orgs take away much power from american govt
pray how often does r pray
prayer bible prayer in public schools
premarsx sex before marriage
pres08 vote obama or mccain
pres12 vote obama or romney
preteen household members 6 thru 12 yrs old
prodctiv work conditions allow productivity
promtefr promotions are handled fairly
promteok rs chances for promotion good
proudart how proud its achievements in the arts & lit.
prouddem how proud the way democracy works
proudeco how proud america's economic achievements
proudemp r proud to work for employer
proudgrp how proud its fair and equal treatment
proudhis how proud its history
proudmil how proud america's armed forces
proudpol how proud its political influence in the world
proudsci how proud its scientific and tech achievements
proudspt how proud its achievements in sports
proudsss how proud its social security system
racdif1 differences due to discrimination
racdif2 differences due to inborn disability
racdif3 differences due to lack of education
racdif4 differences due to lack of will
raclive any opp. race in neighborhood
racmeet allowed to hold pub meeting for racist
racopen vote on open housing law
racwork racial makeup of workplace
radioact sci knowledge:all radioactivity is man-made
rank rs self ranking of social position
ratetone r's facial coloring by interviewer
realinc family income in constant $
realrinc rs income in constant $
reborn has r ever had a 'born again' experience
refrndms referendum are good way to decide important pol quest
reg16 region of residence, age 16
relactiv how often does r take part in relig activities
relatsex relation to last sex partner
relig rs religious preference
relig16 religion in which raised
reliten strength of affiliation
relmeet allowed to hold pub meeting for religious extremist
relpersn r consider self a religious person
res16 type of place lived in when 16 yrs old
respect r treated with respect at work
respnum number in family of r
retchnge r returned money after getting too much change
revmeet allowed to hold pub meeting for ppl who want overthro
rghtsmin how important:govt protect right of minorities
richwork if rich, continue or stop working
rifle rifle in home
rincblls income alone is enough
rincom06 respondents income
rincome respondents income
rowngun does gun belong to r
safefrst no shortcuts on worker safety
safehlth safety and health condition good at work
safetywk worker safety priority at work
satfin satisfaction with financial situation
satjob job or housework
satjob1 job satisfaction in general
savesoul tried to convince others to accept jesus
scibnfts benefits of sci research outweight harmful results
scifrom main source of information about science and technology
scinews1 newspaper printed or online
scinews2 magazine printed or online
scinews3 where online get info
scistudy r has clear understanding of scientific study
scitext what it means to r to study scienfically
secondwk r has job other than main
sector type of college respondent attended
seeksci probable source of information about scientific issues
selffrst people need not overly worry about others
selfless r feels like a selfless caring for others
servepeo how committed govt admnstrators are to serve people
sexeduc sex education in public schools
sexfreq frequency of sex during last year
sexornt sexual orientation
sexsex sex of sex partners in last year
sexsex5 sex of sex partners last five years
shortcom world better if america acknowledged shortcomings
shotgun shotgun in home
sibs number of brothers and sisters
signdpet signed a petition
size size of place in 1000s
slpprblm trouble sleeping last 12 months
socbar spend evening at bar
socfrend spend evening with friends
socommun spend evening with neighbor
socrel spend evening with relatives
solarrev sci knowledge:how long the earth goes around the sun
solok how important:citizens have adequate standard of livi
spanking favor spanking to discipline child
spden specific denomination, spouse
spdipged spouse diploma, ged, or other
spevwork spouse ever work as long as a year
spfund how fundamentalist is spouse currently
sphrs1 number of hrs spouse worked last week
sphrs2 no. of hrs spouse usually works a week
spind10 spouses industry code (naics 2007)
spkath allow anti-religionist to speak
spkcom allow communist to speak
spkhomo allow homosexual to speak
spklang how well does r speak other language
spkmil allow militarist to speak
spkmslm allow muslim clergymen preaching hatred of the us
spkrac allow racist to speak
spocc10 spouse census occupation code (2010)
spother other protestant denominations
sprel spouses religious preference
sprtprsn r consider self a spiritual person
spsector type of college spouse attended
spvtrfair supervisor is fair
spwrkslf spouse self-emp. or works for somebody
spwrksta spouse labor force status
stockops r hold any stock options of rs company
stockval total dollar value of rs stock
stress how often does r find work stressful
stress12 stress management program last 12 months
strredpg access to stress management
suicide1 suicide if incurable disease
suicide2 suicide if bankrupt
suicide3 suicide if dishonored family
suicide4 suicide if tired of living
supcares supervisor concerned about welfare
suprvsjb does r supervise others at work
suphelp supervisor helpful to r in getting job done
talkedto talked with someone depressed past 12 months
talkspvs comfortable talking with supervisor about personal
tax rs federal income tax
teamsafe mgt and employees work together re safety
teens household members 13 thru 17 yrs old
teensex sex before marriage -- teens 14-16
thnkself to think for ones self
toofast science makes our way of life change too fast
toofewwk how often not enough staff
trdestck company stock publicly traded
trdunion workers need strong unions
trust can people be trusted
trustman r trust management at work
trynewjb how likely r make effort for new job next year
tvhours hours per day watching tv
unemp ever unemployed in last ten yrs
union does r or spouse belong to union
unrelat number in household not related
uscitzn is r us citizen
usedup how often during past month r felt used up
usemedia contacted in the media to express view
useskill how much past skills can you make use in present
usetech percentage of time use tech
usewww r use www other than email
uswar expect u.s. in war within 10 years
uswary expect u.s. in world war in 10 years
valgiven total donations past year r and immediate family
vetyears years in armed forces
viruses sci knowledge:antiviotics kill viruses as well as bacteria
visitors number of visitors in household
voedcol non-college postsecondary education (voednme1)
voednme1 postsecondary institution attended for credit
voedncol non-college postsecondary education (voednme2)
voednme2 postsecondary institution attended for credit
volchrty r done volunteer work for a charity
volmonth volunteer in last month
vote08 did r vote in 2008 election
vote12 did r vote in 2012 election
voteelec how important always to vote in elections
watchgov how important to keep watch on action of govt
waypaid how paid in main job
wealth total wealth of respondent
webmob r uses home internet through mobile device
weekswrk weeks r. worked last year
weight r weighs how much
whencol when received college degree
whenhs when received hs degree
whoelse1 presence of others:children under six
whoelse2 presence of others:older children
whoelse3 presence of others:spouse partner
whoelse4 presence of others:other relatives
whoelse5 presence of others:other adults
whoelse6 presence of others:no one
whywkhme usual reason r work at home
widowed ever been widowed
wkageism r feels discriminated because of age
wkcontct how often contacted about work when not working
wkdecide how often r take part in decisions
wkfreedm a lot of freedom to decide how to do job
wkharoth r threatened on the job last 12 months
wkharsex r sexually harassed on the job last 12 months
wkpraise r is likely to be praised by supervisor
wkracism r feels discriminated because of race
wksexism r feels discriminated because of gender
wksmooth workplace runs in smooth manner
wksub does r or spouse have supervisor
wksubs does supervisor have supervisor
wksup does r or spouse supervise anyone
wksups does subordinate supervise anyone
wkvsfam how often job interferes fam life
wlthblks rich - poor
wlthwhts rich - poor
workblks hard working - lazy
workdiff r does numerous things on job
workfast job requires r to work fast
workfor1 r work for whom
workhard to work hard
workwhts hard working - lazy
wrkgovt govt or private employee
wrkhome how often r works at home
wrksched usual work schedule
wrkslf r self-emp or works for somebody
wrkstat labor force status
wrktime r has enough time to get the job done
wrktype work arrangement at main job
wrkwayup blacks overcome prejudice without favors
wrldgovt international bodies should enforce environment
wwwhr www hours per week
wwwmin www minutes per week
xmarsex sex with person other than spouse
xmovie seen x-rated movie in last year
xnorcsiz expanded n.o.r.c. size code
yearsjob time at current job
yearval total dollar value of payments in that year

Source

Data: https://sda.berkeley.edu/sdaweb/analysis/?dataset=gss14

Codebook: https://burrelvannjr.com/docs/GSS_Codebook.pdf


General Social Survey, 2022

Description

These data come from the General Social Survey, administered in 2022 These data were collected by the National Opinion Research Center (NORC) at the University of Chicago. The observations represent individuals' responses to survey questions. The full data set – The General Social Survey Cumulative Data (1972-2024, release 3) – was generously provided through the gssr package. Further information about the GSS2022 data set (including question text) can be found in the GSS 2022 Codebook at: https://gss.norc.org/content/dam/gss/get-documentation/pdf/codebook/GSS%202022%20Codebook.pdf.

Usage

GSS2022

Format

A data frame with 4149 observations and 1291 variables.

year GSS year for this respondent
id Respondent id number
wrkstat labor force status
hrs1 number of hours worked last week
hrs2 number of hours usually work a week
evwork ever work as long as one year
wrkslf r self-emp or works for somebody
occ10 r's census occupation code (2010)
prestg10 r's occupational prestige score (2010)
prestg105plus R's occupational prestige score using threshold method (2010)
indus10 r's industry code (naics 2007)
marital marital status
martype marital type
divorce ever been divorced or separated
widowed ever been widowed
spwrksta spouse labor force status
sphrs1 number of hrs spouse worked last week
sphrs2 no. of hrs spouse usually works a week
spevwork spouse ever work as long as a year
cowrksta partner's labor force status
cowrkslf partner self-emp. or works for somebody else
coevwork partner ever work as long as a year
cohrs1 number of hours partner worked last week
cohrs2 no. of hours partner usually works a week
spwrkslf spouse self-emp. or works for somebody
spocc10 spouse census occupation code (2010)
sppres10 Spouse occupational prestige score (2010)
sppres105plus Spouse occupational prestige score using threshold method (2010)
spind10 spouse's industry code (naics 2007)
coocc10 partner's census occupation code (2010)
coind10 partner's industry code (2010)
pawrkslf Father (or oldest same-sex parent) self-emp. or worked for somebody
paocc10 father's census occupation code (2010)
papres10 father's occupational prestige score (2010)
papres105plus Father's occupational prestige score using threshold method (2010)
paind10 father's industry code (naics 2007)
mawrkslf Mother (or youngest same-sex parent) self-emp. or worked for somebody
maocc10 mothers census occupation code (2010)
mapres10 mothers occupational prestige score (2010)
mapres105plus Mothers occupational prestige score using threshold method (2010)
maind10 mothers industry code (naics 2007)
sibs number of brothers and sisters
childs number of children
age age of respondent
agekdbrn r's age when 1st child born
educ highest year of school completed
paeduc Highest year school completed, father (or oldest same-sex parent)
maeduc Highest year school completed, mother (or youngest same-sex parent)
speduc highest year school completed, spouse
coeduc highest year school completed, partner
codeg partner's highest degree
degree r's highest degree
padeg Father's (or oldest same-sex parent's) highest degree
madeg Mother's (or youngest same-sex parent's) highest degree
spdeg spouse's highest degree
major1 college major 1
major2 college major 2
dipged diploma, ged, or other
sex respondents sex
race race of respondent
res16 type of place lived in when 16 yrs old
reg16 region of residence, age 16
mobile16 geographic mobility since age 16
family16 living with parents when 16 yrs old
famdif16 reason not living with parents
mawrkgrw Did mother (or youngest same-sex parent) ever work for pay for as long as a year while you were growing up?
incom16 r's family income when 16 yrs old
born was r born in this country
parborn were r's parents born in this country
granborn how many grandparents born outside u.s.
hompop number of persons in household
babies household members less than 6 yrs old
preteen household members 6 thru 12 yrs old
teens household members 13 thru 17 yrs old
adults household members 18 yrs and older
unrelat number in household not related
earnrs how many in family earned money
income total family income
rincome respondents income
income16 total family income
rincom16 respondents income
region region of interview
xnorcsiz expanded norc size code
srcbelt src beltcode
size Size of place in 1000s
partyid political party affiliation
vote16 remember if voted in 2016 election
pres16 vote clinton or trump
if16who who you would have voted for
polviews think of self as liberal or conservative
natspac space exploration program
natenvir improving & protecting environment
natheal improving & protecting nations health
natcity solving problems of big cities
natcrime halting rising crime rate
natdrug dealing with drug addiction
nateduc improving nations education system
natrace Improving the conditions of Black people
natarms military, armaments, and defense
nataid foreign aid
natfare welfare
natroad highways and bridges
natsoc social security
natmass mass transportation
natpark parks and recreation
natchld assistance for childcare
natsci supporting scientific research
natenrgy developing alternative energy sources
natspacy space exploration:version y
natenviy the environment:version y
nathealy health:version y
natcityy assistance to big cities:version y
natcrimy law enforcement:version y
natdrugy drug rehabilitation:version y
nateducy education:version y
natracey Assistance to Black people: version y
natarmsy national defense:version y
nataidy assistance to other countries:ver y
natfarey assistance to the poor:version y
eqwlth should govt reduce income differences
tax r's federal income tax
spkath allow anti-religionist to speak
colath allow anti-religionist to teach
libath allow anti-religious book in library
spkrac allow racist to speak
colrac allow racist to teach
librac allow racists book in library
spkcom allow communist to speak
colcom should communist teacher be fired
libcom allow communists book in library
spkmslm allow muslim clergymen preaching hatred of the us
colmslm allow anti-american muslim clergymen teaching in college
libmslm allow anti-american muslim clergymen's books in library
cappun favor or oppose death penalty for murder
gunlaw favor or oppose gun permits
courts courts dealing with criminals
grass should marijuana be made legal
relig r's religious preference
denom specific denomination
other other protestant denominations
jew what sort of jew r is
fund how fundamentalist is r currently
attend how often r attends religious services
reliten strength of affiliation
postlife belief in life after death
pray how often does r pray
popespks pope is infallible on matter's of faith or morals
relig16 religion in which raised
denom16 denomination in which r was raised
oth16 other protestant denominations
jew16 what sort of jew r was at age 16
fund16 how fundamentalist was r at age 16
sprel spouse's religious preference
spden specific denomination, spouse
spother other protestant denominations
spjew what sort of jew is r's spouse currently
spfund how fundamentalist is spouse currently
corel partner's religious preference
coden partner's denomination
coother other protestant denominations
cojew what sort of jew is r's partner currently
cofund how fundamentalist is partner's current religion
prayer bible prayer in public schools
bible feelings about the bible
racopen vote on open housing law
raclive any opp. race in neighborhood
affrmact Favor preference in hiring Black people
wrkwayup Black people overcome prejudice without favors
happy general happiness
hapmar happiness of marriage
hapcohab happiness of relt with partner
health condition of health
life is life exciting or dull
helpful people helpful or looking out for selves
fair people fair or try to take advantage
trust can people be trusted
confinan confid in banks & financial institutions
conbus confidence in major companies
conclerg confidence in organized religion
coneduc confidence in education
confed confid. in exec branch of fed govt
conlabor confidence in organized labor
conpress confidence in press
conmedic confidence in medicine
contv confidence in television
conjudge confid. in united states supreme court
consci confidence in scientific community
conlegis confidence in congress
conarmy confidence in military
obey to obey
popular to be well liked or popular
thnkself to think for ones self
workhard to work hard
helpoth to help others
socrel spend evening with relatives
socommun spend evening with neighbor
socfrend spend evening with friends
socbar spend evening at bar
aged should aged live with their children
weekswrk weeks r worked last year
partfull was r's work part-time or full-time?
joblose is r likely to lose job
jobfind could r find equally good job
satjob work satisfaction
richwork if rich, continue or stop working
class subjective class identification
rank r's self ranking of social position
satfin satisfaction with financial situation
finalter change in financial situation
finrela opinion of family income
wksub does r or spouse have supervisor
wksubs does supervisor have supervisor
wksub1 does r or spouse or partner have a supervisor
wksubs1 does supervisor have supervisor
wksup does r or spouse supervise anyone
wksups does subordinate supervise anyone
wksup1 does r or spouse or partner supervise anyone
wksups1 does subordinant supervise anyone
unemp ever unemployed in last ten yrs
union does r or spouse belong to union
union1 does r or spouse or partner belong to union
getahead opinion of how people get ahead
parsol r's living standard compared to parents
kidssol r's kids living standard compared to r
fepol women not suited for politics
abdefect strong chance of serious defect
abnomore married--wants no more children
abhlth woman's health seriously endangered
abpoor low income--cant afford more children
abrape pregnant as result of rape
absingle not married
abany abortion if woman wants for any reason
chldidel ideal number of children
pillok birth control to teenagers 14-16
sexeduc sex education in public schools
divlaw divorce laws
premarsx sex before marriage
teensex sex before marriage:teens 14-16
xmarsex sex with person other than spouse
homosex homosexual sex relations
pornlaw feelings about pornography laws
xmovie seen x-rated movie in last year
spanking favor spanking to discipline child
letdie1 allow incurable patients to die
suicide1 suicide if incurable disease
suicide2 suicide if bankrupt
suicide3 suicide if dishonored family
suicide4 suicide if tired of living
polhitok ever approve of police striking citizen
polabuse citizen said vulgar or obscene things
polmurdr citizen questioned as murder suspect
polescap citizen attempting to escape custody
polattak citizen attacking policeman with fists
fear afraid to walk at night in neighborhood
owngun have gun in home
pistol pistol or revolver in home
shotgun shotgun in home
rifle rifle in home
rowngun does gun belong to r
hunt does r or spouse hunt
hunt1 does r or spouse or partner hunt
news how often does r read newspaper
tvhours hours per day watching tv
phone does r have telephone
coop r's attitude toward interview
comprend r's understanding of questions
form form of split questionnaire asked
fechld mother working doesn't hurt children
fepresch preschool kids suffer if mother works
fefam better for man to work, woman tend home
racdif1 differences due to discrimination
racdif2 differences due to in-born learning ability
racdif3 differences due to lack of education
racdif4 differences due to lack of will
helppoor should govt improve standard of living?
helpnot should govt do more or less?
helpsick should govt help pay for medical care?
helpblk Should govt aid Black people?
god r's confidence in the existence of god
reborn has r ever had a 'born again' experience
savesoul tried to convince others to accept jesus
wlthwhts rich - poor
wlthblks rich - poor
wlthhsps rich - poor
workwhts hard working - lazy
workblks hard working - lazy
workhsps hard working -lazy
intlwhts unintelligent -intelligent
intlblks unintelligent - intelligent
intlhsps unintelligent - intelligent
liveblks neighborhood half black
marblk close relative marry Black person
marasian close relative marry asian
marhisp close relative marry hispanic
marwht r favor close relative marrying white person
racwork racial makeup of workplace
discaff whites hurt by aff. action
yousup how many people do you supervise directly
spwksup does spouse supervise anyone
fejobaff for or against preferential hiring of women
discaffm a man won't get a job or promotion
discaffw a woman won't get a job or promotion
fehire should hire and promote women
relpersn r consider self a religious person
sprtprsn r consider self a spiritual person
othlang can r speak language other than english/spanish
othlang1 what other languages does r speak
othlang2 what other languages does r speak
spklang how well does r speak other language
betrlang which language r speaks more fluent
compuse r use computer
webmob r uses home internet through mobile device
emailmin email minutes per week
emailhr email hours per week
usewww r use www other than email
wwwhr www hours per week
wwwmin www minutes per week
huclean r hu interior cleanliness rating
wrktype work arrangement at main job
yearsjob time at current job
waypaid how paid in main job
wrksched usual work schedule
moredays days per month r work extra hours
mustwork mandatory to work extra hours
chngtme how often r allowed change schedule
wrkhome how often r works at home
whywkhme usual reason r work at home
famwkoff how hard to take time off
wkvsfam how often job interferes fam life
famvswk how often fam life interfere job
hrsrelax hours per day r have to relax
secondwk r has job other than main
learnnew job requires r to learn new things
workfast job requires r to work fast
workdiff r does numerous things on job
overwork r has too much work to do well
knowwhat r knows what's expected on job
myskills job allows r use of skills
respect r treated with respect at work
trustman r trust management at work
safetywk worker safety priority at work
safefrst no shortcuts on worker safety
teamsafe mgt and employees work together re safety
safehlth safety and health condition good at work
proudemp r proud to work for employer
prodctiv work conditions allow productivity
wksmooth workplace runs in smooth manner
trdunion workers need strong unions
partteam r work as part of a team
wkdecide how often r take part in decisions
toofewwk how often not enough staff
promteok r's chances for promotion good
opdevel opportunity to develop my abilities
hlpequip enough help and equip to ge the job done
haveinfo enough info to get the job done
wkfreedm a lot of freedom to decide how to do job
fringeok fringe benefits are good
supcares supervisor concerned about welfare
condemnd r free from conflicting demands
promtefr promotions are handled fairly
cowrkint coworkers take a personal interest in r
jobsecok the job security is good
suphelp supervisor helpful to r in getting job done
wrktime r has enough time to get the job done
cowrkhlp coworkers can be relied on when r needs help
manvsemp relations bw management and employees
hvylift r do repeated lifting
handmove r perform forceful hand movements
wkpraise r is likely to be praised by supervisor
fairearn how fair is what r earn on the job
rincblls income alone is enough
laidoff r was laid off main job last year
jobfind1 how easy for r to find a same job
trynewjb how likely r make effort for new job next year
wkageism r feels discriminated because of age
wkracism r feels discriminated because of race
wksexism r feels discriminated because of gender
wkharsex r sexually harassed on the job last 12 months
wkharoth r threatened on the job last 12 months
health1 r's health in general
physhlth days of poor physical health past 30 days
mntlhlth days of poor mental health past 30 days
hlthdays days of activity limitation past 30 days
usedup how often during past month r felt used up
backpain r had back pain in the past 12 months
painarms r had pain in the arms in the past 12 months
hurtatwk number of injuries on the job past 12 months
spvtrfair supervisor is fair
strredpg access to stress management
phyeffrt rate physical effort
slpprblm trouble sleeping last 12 months
satjob1 job satisfaction in general
usetech percentage of time use tech
stress12 stress management program last 12 months
hyperten told have hypertension or high blood pressure
arthrtis told have arthritis or rheumatism
diabetes told have diabetes
depress told have depression
weight r weighs how much
height r is how tall
ntwkhard past week not work hard enough
misswork miss work for health past 30 days
lifenow r's rating of life overall now from 0-10
lifein5 r's rating of life overall in five years from 0-10
disrspct r is treated with less courtesy or respect than others
poorserv r recieves poorer service in restaurants or stores
notsmart people act as if they think r is not smart
afraidof people act as if they are afraid of r
threaten r is threatened or harassed
abmoral r has a moral opposition to abortion
abhelp1 r would help with arrangements for abortion
abhelp2 r would help with paying for abortion
abhelp3 r would help with paying for abortion-related other costs
abhelp4 r would help with emotional support for abortion
workfor1 r work for whom
ownstock r has stock in r's company
stockops r hold any stock options of r's company
extrapay eligible for performance based pay
compperf size of perf based pay depend on profits
deptperf size of perf based pay depend on workgroup
indperf size of perf based pay depend on individual
extrayr year of the most recent perf based payments
numemps number of employee for the self-employed
wrkslffam does r work in family business or farm
nextgen science & tech. give more opportunities to next generation
toofast science makes our way of life change too fast
advfront sci rsch is necessary and should be supported by federal govt
scientgo scientists work for good of humanity
scienthe scientists help solve prob
scientbe scientists want to make life better for avg person
buyvalue percent of company stock r bought from own money
compwage annual wages in previous year were higher than same jobs in other companies
empinput r involved in any task force for decision-making
slfmangd r involved in a self-managed team
emptrain received formal training from employer
wealth total wealth of respondent
esop r is member of esop
defpensn r has defined benefit pension plan
ratetone r's facial coloring by interviewer
posslq does r have marital partner
posslqy relationship status and cohabitation or not
marcohab cohabitation status
healthissp merged healthissp_d and healthissp_e
endsmeet how difficult or easy is it for r's household to make ends meet
goodlife standard of living of r will improve
famsuffr family life suffers if mom works f-t
homekid most women really want a home and kids
housewrk being housewife as fulfilling as paid work
wrkbaby shld woman with preschooler work?
wrksch shld woman work after youngest in school?
marlegit those wanting kids should get married
marmakid single ma can raise kids well as couple
marpakid single pa can raise kids well as couple
marsame Homosexual couples should have the right to marry one another
numkids what is ideal number of kids for family
kidnofre kids interfere with parents' freedom
hubbywk1 men should earn money women keep house
meovrwrk men hurt family when focus on work too much
cohabok living together as an acceptable option
laundry1 who in household does laundry
caresik1 who in household cares for sick in family
shop1 who in household shops for groceries
cooking1 who in household prepares the meals
rhhwork how many hours a week does r spend on hh work
sphhwork how many hours a week does spouse on hh wrk
happy7 how happy r is
ssfchild same sex female couple raise child as well as male-female couple
ssmchild same sex male couple raise child as well as male-female couple
kidsocst having children increases social standing in society
paidlv paid leave for childcare
paidlvdv mother or father paid leave
famwkbst best way to org family work life with under school age child
famwklst wor'st way to org family work life with under school age child
careprov who should provide childcare for under school age child
carecost who should pay for costs of care for under school age child
eldhelp who should provide help for elderly
eldcost who should pay for help for elderly
hhclean1 who does household cleaning
tiredhm1 how often too tired to do housework
jobvsfa1 how often jobtakes too much time to fulfill family resp
tiredwk1 how often too tired from housework to do job well
famvswk1 how often difficult to conc at work because family resp
rfamlook hours r spends looking after family members
spfalook hours spouse spends looking after family members
stress how often does r find work stressful
supervis does r supervise others at work in main job
localnum number of employees: r's work site
relactiv how often does r take part in relig activities
immcrime immigrants increase crime rates
immjobs immigrants take jobs away
letin1a number of immigrants nowadays should be
partners how many sex partner's r had in last year
matesex was 1 of r's partner's spouse or regular
frndsex r had sex with friend last year
acqntsex r had sex with acquaintance last year
pikupsex r had sex with casual date last year
paidsex r had sex for pay last year
othersex r had sex with some other last year
sexsex sex of sex partner's in last year
sexfreq frequency of sex during last year
numwomen number of female sex partner's since 18
nummen number of male sex partner's since 18
partnrs5 how many sex partner's r had in last 5 years
sexsex5 sex of sex partner's last five years
evpaidsx ever have sex paid for or being paid since 18
evstray have sex other than spouse while married
condom used condom last time
relatsex relation to last sex partner
evidu r ever inject drugs
idu30 r inject drugs in past 30 days
evcrack r ever use crack cocaine
crack30 r last use crack cocaine
hivtest have you ever been tested for hiv
hivtest1 in what month and year was your last hiv test
hivtest2 where did you have your last hiv test
sexornt sexual orientation
realinc family income in constant $
realrinc r's income in constant $
coninc family income in constant dollars
conrinc respondent income in constant dollars
ethnic country of family origin
eth1 1st mentioned country of origin
eth2 2nd mentioned country of origin
eth3 3rd mentioned country of origin
hispanic hispanic specified
racecen1 what is r's race 1st mention
racecen2 what is r's race 2nd mention
racecen3 what is r's race 3rd mention
uscitzn is r us citizen
fucitzn is r planning/appling for us citizenship or not
yearsusa lived in u.s., years:
mnthsusa lived in u.s., if less than one year months:
vetyears years in armed forces
dwelling type of structure
dwelown does r own or rent home?
dwelown16 did rs family own or rent home when r was age 16
worda word a
wordb word b
wordc word c
wordd word d
worde word e
wordf word f
wordg word g
wordh word h
wordi word i
wordj word j
wordsum number words correct in vocabulary test
relate1 relationship of 1st person to household head
gender1 gender of 1st person
old1 age of 1st person
46082 marital status of 1st person
away1 is 1st person staying somewhere else now?
where1 where is 1st person staying?
relate2 relationship of 2nd person to household head
gender2 gender of 2nd person
old2 age of 2nd person
46083 marital status of 2nd person
away2 is 2nd person staying somewhere else now?
where2 where is 2nd person staying?
relate3 relationship of 3rd person to household head
gender3 gender of 3rd person
old3 age of 3rd person
46084 marital status of 3rd person
away3 is 3rd person staying somewhere else now?
where3 where is 3rd person staying?
relate4 relationship of 4th person to household head
gender4 gender of 4th person
old4 age of 4th person
46085 marital status of 4th person
away4 is 4th person staying somewhere else now?
where4 where is 4th person staying?
relate5 relationship of 5th person to household head
gender5 gender of 5th person
old5 age of 5th person
46086 marital status of 5th person
away5 is 5th person staying somewhere else now?
where5 where is 5th person staying?
relate6 relationship of 6th person to household head
gender6 gender of 6th person
old6 age of 6th person
46087 marital status of 6th person
away6 is 6th person staying somewhere else now?
where6 where is 6th person staying?
relate7 relationship of 7th person to household head
gender7 gender of 7th person
old7 age of 7th person
46088 marital status of 7th person
away7 is 7th person staying somewhere else now?
where7 where is 7th person staying?
relate8 relationship of 8th person to household head
gender8 gender of 8th person
old8 age of 8th person
46089 marital status of 8th person
away8 is 8th person staying somewhere else now?
where8 where is 8th person staying?
relate9 relationship of 9th person to household head
gender9 gender of 9th person
old9 age of 9th person
46090 marital status of 9th person
away9 is 9th person staying somewhere else now?
where9 where is 9th person staying?
relate10 relationship of 10th person to household head
gender10 gender of 10th person
old10 age of 1oth person
46091 marital status of 10th person
away10 is 10th person staying somewhere else now?
where10 where is 1oth person staying?
relate11 relation of 11th person (visitor) to head
gender11 gender of 11th person (visitor)
old11 age of 11th person (visitor)
46092 marital status of 11th person (visitor)
away11 is 11th person (visitor) staying elsewhere now?
where11 where is 11th person (visitor) staying?
relate12 relation of 12th person (visitor) to head
gender12 gender of 12th person (visitor)
old12 age of 12th person (visitor)
46093 marital status of 12th person (visitor)
away12 is 12th person (visitor) staying elsewhere now?
where12 where is 12th person (visitor) staying?
relate13 relation of 13th person (visitor) to head
gender13 gender of 13th person (visitor)
old13 age of 13th person (visitor)
46094 marital status of 13th person (visitor)
away13 is 13th person (visitor) staying elsewhere now?
where13 where is 13th person (visitor) staying?
relate14 relation of 14th person (visitor) to head
gender14 gender of 14th person (visitor)
old14 age of 14th person (visitor)
46095 marital status of 14th person (visitor)
away14 is 14th person (visitor) staying elsewhere now?
where14 where is 14th person (visitor) staying?
relhhd1 relation of 1st person to household head
relhhd2 relation of 2nd person to household head
relhhd3 relation of 3rd person to household head
relhhd4 relation of 4th person to household head
relhhd5 relation of 5th person to household head
relhhd6 relation of 6th person to household head
relhhd7 relation of 7th person to household head
relhhd8 relation of 8th person to household head
relhhd9 relation of 9th person to household head
relhhd10 relation of 1oth person to household head
relhhd11 relation of 11th person (visitor) to head
relhhd12 relation of 12th person (visitor) to head
relhhd13 relation of 13th person (visitor) to head
relhhd14 relation of 14th person (visitor) to head
hhrace race of household
respnum number in family of r
hhtype household type
hhtype1 household type (condensed)
famgen number of family generations in household
rplace r's relationship to household head
rvisitor is r a visitor?
visitors number of visitor's in household
relhh1 relationship of person 1 to head of household
relhh2 relationship of person 2 to head of household
relhh3 relationship of person 3 to head of household
relhh4 relationship of person 4 to head of household
relhh5 relationship of person 5 to head of household
relhh6 relationship of person 6 to head of household
relhh7 relationship of person 7 to head of household
relhh8 relationship of person 8 to head of household
relhh9 relationship of person 9 to head of household
relhh10 relationship of person 10 to head of household
relhh11 relationship of person 11 to head of household
relhh12 relationship of person 12 to head of household
relhh13 relationship of person 13 to head of household
relhh14 relationship of person 14 to head of household
relsp1 relationship of person 1 to spouse of househol
relsp2 relationship of person 2 to spouse of househol
relsp3 relationship of person 3 to spouse of househol
relsp4 relationship of person 4 to spouse of househol
relsp5 relationship of person 5 to spouse of househol
relsp6 relationship of person 6 to spouse of househol
relsp7 relationship of person 7 to spouse of househol
relsp8 relationship of person 8 to spouse of househol
relsp9 relationship of person 9 to spouse of househol
relsp10 relationship of person 10 to spouse of househo
relsp11 relationship of person 11 to spouse of househo
relsp12 relationship of person 12 to spouse of househo
relsp13 relationship of person 13 to spouse of househo
relsp14 relationship of person 14 to spouse of househo
dateintv date of interview
isco08 respondent's occupation, 2010 census & 2008 isco code
paisco08 r's father's occupation, 2010 census & 2008 isco code
maisco08 r's mother's occupation, 2010 census & 2008 isco code
spisco08 r's mothers occupation, 2010 census & 2008 isco code
coisco08 partner's occupation, 2010 census & 2008 isco code
sei10 r's socioeconomic index (2010)
sei10educ Percentage of some college educ in OCC10 based on ACS 2010
sei10inc Percentage of $45k+ earners in OCC10 based on ACS 2010
pasei10 r's father's socioeconomic index (2010)
pasei10educ Percentage of some college educ in PAOCC10 based on ACS 2010
pasei10inc Percentage of $45k+ earners in PAOCC10 based on ACS 2010
masei10 r's mother's socioeconomic index (2010)
masei10educ Percentage of some college educ in MAOCC10 based on ACS 2010
masei10inc Percentage of $45k+ earners in MAOCC10 based on ACS 2010
spsei10 r's spouse's socioeconomic index (2010)
spsei10educ Percentage of some college educ in SPOCC10 based on ACS 2010
spsei10inc Percentage of $45k+ earners in SPOCC10 based on ACS 2010
cosei10 partner's socioeconomic index (2010)
cosei10educ Percentage of some college educ in COOCC10 based on ACS 2010
cosei10inc Percentage of $45K+ earners in COOCC10 based on ACS 2010
copres10 Partner's occupational prestige score (2010)
copres105plus partner's occupational prestige score using threshold method (2010)
uswary expect u.s. in world war in 10 years
cohort year of birth
zodiac respondents astrological sign
inthisp is interviewer spanish, hispanic or latino
intrace1 interviewer s race1
intrace2 interviewer s race2
intrace3 interviewer s race3
whoelse1 presence of others: children under six
whoelse2 presence of others: older children
whoelse3 presence of others: spouse partner
whoelse4 presence of others: other relatives
whoelse5 presence of others: other adults
whoelse6 presence of others: no one
intid Interviewer id
feeused fee given to get case
feelevel amount of fees paid
lngthinv how long was interview
intethn race of interviewer
mode interview done in-person or over the phone
consent participation/recording consent
adminconsent consent to possible data linkage
letdie1y allow incurable patients to die (form 2)
ballot ballot used for interview
version Version of questionnaire
issp filter for issp cases
formwt Weight deal with experimental randomization
sampcode Sampling error code
sample sampling frame and method
oversamp Weights for black oversamples
phase subsampling: two-phase design.
spanself if this interview had only been available in english, would you...
spanint if no spanish, r could have been interviewed in english
spaneng interviews conducted in spanish or english
hlthstrt would you say the respondent's health in general is excellent, good, fair, or poor
huadd housing unit (hu) at address?
huaddwhy why there is no hu at this address
dwellpre type of structure in which the respondent lives
kidsinhh does interviewer believe that there are children under the age of 15 present at
respond estimate of the probability that this household will respond to the survey
incuspop estimated income status of housing unit
neisafe how safe interviewer thinks neighborhood is
rlooks r physical attractiveness rating
rgroomed r grooming rating
rhlthend r health rating
vstrat Variance stratum
vpsu Variance primary sampling unit
kish
famdif16y Which of the following best describes your situation?
pawrkslf2 At this job, was [dadfill] an employee, self-employed without employees, or self-employed with employees?
pawrkslffam Father (or oldest same-sex parent) owned family business or farm
mawrkslf2 At this job, was mother (or youngest same-sex parent) an employee, self-employed without employees, or self-employed with employees?
mawrkslffam Mother (or youngest same-sex parent) owned family business or farm
ethworld1 From what part of the world did your ancestors come? Europe
ethworld2 From what part of the world did your ancestors come? Africa
ethworld3 From what part of the world did your ancestors come? Asia
ethworld4 From what part of the world did your ancestors come? Middle East
ethworld5 From what part of the world did your ancestors come? South America
ethworld6 From what part of the world did your ancestors come? Central America
ethworld7 From what part of the world did your ancestors come? North America
ethworld8 From what part of the world did your ancestors come? Caribbean
ethworld9 From what part of the world did your ancestors come? Oceania
ethregion1 From what country or countries did your ancestors come? Austria
ethregion2 From what country or countries did your ancestors come? Belgium
ethregion3 From what country or countries did your ancestors come? Czechoslovakia
ethregion4 From what country or countries did your ancestors come? Denmark
ethregion5 From what country or countries did your ancestors come? England and Wales
ethregion6 From what country or countries did your ancestors come? Finland
ethregion7 From what country or countries did your ancestors come? France
ethregion8 From what country or countries did your ancestors come? Germany
ethregion9 From what country or countries did your ancestors come? Greece
ethregion10 From what country or countries did your ancestors come? Hungary
ethregion11 From what country or countries did your ancestors come? Ireland
ethregion12 From what country or countries did your ancestors come? Italy
ethregion13 From what country or countries did your ancestors come? Lithuania
ethregion14 From what country or countries did your ancestors come? Netherlands (Dutch/Holland)
ethregion15 From what country or countries did your ancestors come? Norway
ethregion16 From what country or countries did your ancestors come? Poland
ethregion17 From what country or countries did your ancestors come? Portugal
ethregion18 From what country or countries did your ancestors come? Romania
ethregion19 From what country or countries did your ancestors come? Russia (USSR)
ethregion20 From what country or countries did your ancestors come? Scotland
ethregion21 From what country or countries did your ancestors come? Spain
ethregion22 From what country or countries did your ancestors come? Sweden
ethregion23 From what country or countries did your ancestors come? Switzerland
ethregion24 From what country or countries did your ancestors come? Turkey
ethregion25 From what country or countries did your ancestors come? Yugoslavia
ethregion26 From what country or countries did your ancestors come? Other Europe
ethregion27 From what country or countries did your ancestors come? Algeria
ethregion28 From what country or countries did your ancestors come? Democratic Republic of the Congo
ethregion29 From what country or countries did your ancestors come? Egypt
ethregion30 From what country or countries did your ancestors come? Ethiopia
ethregion31 From what country or countries did your ancestors come? Kenya
ethregion32 From what country or countries did your ancestors come? Nigeria
ethregion33 From what country or countries did your ancestors come? South Africa
ethregion34 From what country or countries did your ancestors come? Sudan
ethregion35 From what country or countries did your ancestors come? Tanzania
ethregion36 From what country or countries did your ancestors come? Uganda
ethregion37 From what country or countries did your ancestors come? Other Africa
ethregion38 From what country or countries did your ancestors come? Bangladesh
ethregion39 From what country or countries did your ancestors come? China
ethregion40 From what country or countries did your ancestors come? India
ethregion41 From what country or countries did your ancestors come? Indonesia
ethregion42 From what country or countries did your ancestors come? Japan
ethregion43 From what country or countries did your ancestors come? Pakistan
ethregion44 From what country or countries did your ancestors come? Philippines
ethregion45 From what country or countries did your ancestors come? South Korea
ethregion46 From what country or countries did your ancestors come? Thailand
ethregion47 From what country or countries did your ancestors come? Vietnam
ethregion48 From what country or countries did your ancestors come? Other Asia
ethregion49 From what country or countries did your ancestors come? Iran
ethregion50 From what country or countries did your ancestors come? Iraq
ethregion51 From what country or countries did your ancestors come? Israel
ethregion52 From what country or countries did your ancestors come? Jordan
ethregion53 From what country or countries did your ancestors come? Saudi Arabia
ethregion54 From what country or countries did your ancestors come? Syria
ethregion55 From what country or countries did your ancestors come? United Arab Emirates
ethregion56 From what country or countries did your ancestors come? Yemen
ethregion57 From what country or countries did your ancestors come? Other Middle East
ethregion58 From what country or countries did your ancestors come? Argentina
ethregion59 From what country or countries did your ancestors come? Bolivia
ethregion60 From what country or countries did your ancestors come? Brazil
ethregion61 From what country or countries did your ancestors come? Chile
ethregion62 From what country or countries did your ancestors come? Colombia
ethregion63 From what country or countries did your ancestors come? Ecuador
ethregion64 From what country or countries did your ancestors come? French Guiana
ethregion65 From what country or countries did your ancestors come? Guyana
ethregion66 From what country or countries did your ancestors come? Paraguay
ethregion67 From what country or countries did your ancestors come? Peru
ethregion68 From what country or countries did your ancestors come? Suriname
ethregion69 From what country or countries did your ancestors come? Uruguay
ethregion70 From what country or countries did your ancestors come? Venezuela
ethregion71 From what country or countries did your ancestors come? Other South America
ethregion72 From what country or countries did your ancestors come? Belize
ethregion73 From what country or countries did your ancestors come? Costa Rica
ethregion74 From what country or countries did your ancestors come? El Salvador
ethregion75 From what country or countries did your ancestors come? Guatemala
ethregion76 From what country or countries did your ancestors come? Honduras
ethregion77 From what country or countries did your ancestors come? Mexico
ethregion78 From what country or countries did your ancestors come? Nicaragua
ethregion79 From what country or countries did your ancestors come? Panama
ethregion80 From what country or countries did your ancestors come? Other Central America
ethregion81 From what country or countries did your ancestors come? American Indian
ethregion82 From what country or countries did your ancestors come? Canada
ethregion83 From what country or countries did your ancestors come? Canada (French)
ethregion84 From what country or countries did your ancestors come? Puerto Rico
ethregion85 From what country or countries did your ancestors come? Other North America
ethregion86 From what country or countries did your ancestors come? Cuba
ethregion87 From what country or countries did your ancestors come? Haiti
ethregion88 From what country or countries did your ancestors come? Dominican Republic
ethregion89 From what country or countries did your ancestors come? Jamaica
ethregion90 From what country or countries did your ancestors come? Other Caribbean
ethregion91 From what country or countries did your ancestors come? Australia
ethregion92 From what country or countries did your ancestors come? Papua New Guinea
ethregion93 From what country or countries did your ancestors come? New Zealand
ethregion94 From what country or countries did your ancestors come? Samoa
ethregion95 From what country or countries did your ancestors come? Jamaica
wrkgovt1 govt employee
wrkgovt2 private employee
spkathy allow anti-religionist to speak y
libathy allow anti-religionist to teach y
spkracy allow anti-religious book in library y
libracy allow racists book in library y
spkcomy allow communist to speak y
colcomy should communist teacher be fired y
libcomy allow communists book in library y
spkmslmy allow muslim clergymen preaching hatred of the us y
libmslmy allow anti-american muslim clergymen's books in library y
polhitoky ever approve of police striking citizen y
polabusey citizen said vulgar or obscene things y
polattaky citizen attacking policeman with fists y
raceacs1 white
raceacs2 black
raceacs3 american indian or alaska native
raceacs4 asian indian
raceacs5 chinese
raceacs6 filipino
raceacs7 japanese
raceacs8 korean
raceacs9 vietnamese
raceacs10 other asian
raceacs11 native hawaiian
raceacs12 guamanian or chamorro
raceacs13 samoan
raceacs14 other pacific islander
raceacs15 some other race
raceacs16 hispanic
abdefectg strong chance of serious defect (grid on web)
abnomoreg married--wants no more children (grid on web)
abhlthg woman's health seriously endangered (grid on web)
abpoorg low income--cant afford more children (grid on web)
abrapeg pregnant as result of rape (grid on web)
absingleg not married (grid on web)
suicide1g suicide if incurable disease
suicide2g suicide if bankrupt
suicide3g suicide if dishonored family
suicide4g suicide if tired of living
maborn Was R's mother (or youngest same-sex parent) born in this country?
paborn Was R's father (or oldest same-sex parent) born in this country?
sexbirth1 r's sex assigned at birth (2021)
sexnow1 r's sex now (2021)
hivafraid afraid to be around a person with hiv
hivimmrl people with hiv have participated in immoral activities
hivdscrm there is a lot of discrimination against people with hiv
ptnrornt recent partner's sexual orientation
ptnrsxbrth recent partner's sex at birth
ptnrsxnow recent partner's sex now
conpharvacy confidence in pharmaceutical companies y
confedvacy confidence in the federal government y
wtssps person post-stratification weight
wtssnrps Person post-stratification weight, nonrespondents adjusted
uswaryv expect u.s. in war within 10 years (with volunteered response on web)
prayerv bible prayer in public schools (with volunteered response on web)
courtsv courts dealing with criminals (with volunteered response on web)
discaffwv a woman won't get a job or promotion (with volunteered response on web)
racopenv vote on open housing law (with volunteered response on web)
getaheadv opinion of how people get ahead (with volunteered response on web)
divlawv divorce laws (with volunteered response on web)
helpfulv people helpful or looking out for selves (with volunteered response on web)
fairv people fair or try to take advantage (with volunteered resposne on web)
trustv can people be trusted (with volunteered response on web)
agedv should aged live with their children (with volunteered response on web)
grassv should marijuana be made legal (with volunteered response on web)
relitenv strength of affiliation (with volunteered response on web)
biblev feelings about the bible (with volunteered response on web)
postlifev belief in life after death (with volunteered response on web)
kidssolv r's kids living standard compared to r (with volunteered response on web)
uscitznv is r us citizen (with volunteered response on web)
fucitznv is r planning/appling for us citizenship or not (with volunteered response on we
fepolv women not suited for politics (with volunteered response on web)
uswarynv expect u.s. in war within 10 years (no volunteered response on web)
prayernv bible prayer in public schools (no volunteered response on web)
courtsnv courts dealing with criminals (no volunteered response on web)
discaffwnv a woman won't get a job or promotion (no volunteered response on web)
racopennv vote on open housing law (no volunteered response on web)
getaheadnv opinion of how people get ahead (no volunteered response on web)
divlawnv divorce laws (no volunteered response on web)
helpfulnv people helpful or looking out for selves (no volunteered response on web)
fairnv people fair or try to take advantage (no volunteered response on web)
trustnv can people be trusted (no volunteered response on web)
agednv should aged live with their children (no volunteered response on web)
grassnv should marijuana be made legal (no volunteered response on web)
relitennv strength of affiliation (no volunteered response on web)
biblenv feelings about the bible (no volunteered response on web)
postlifenv belief in life after death (no volunteered response on web)
kidssolnv r's kids living standard compared to r (no volunteered response on web)
uscitznnv is r us citizen (no volunteered response on web)
fucitznnv is r planning/appling for us citizenship or not (no volunteered response on web)
fepolnv women not suited for politics (no volunteered response on web)
abanyg abortion if woman wants for any reason (grid on web)
fileversion NA
spwrkslf2 SPOUSE SELF-EMPLOYED, WITH EMPLOYEES, OR WORK FOR SOMEONE ELSE
spwrkslffam SPOUSE WORK AT FAMILY BUSINESS OR ON FAMILY FARM
childsinhh TOTAL CHILDREN IN HH (HOUSEHOLD COMPOSITION VERSION)
adultsinhh TOTAL ADULTS IN HH (HOUSEHOLD COMPOSITION VERSION)
whatsp2 How would you classify the place where your ...? Was this mainly...?
cowrkslf2 PARTNER SELF-EMPLOYED, WITH EMPLOYEES, OR WORK FOR SOMEONE ELSE
cowrkslffam PARTNER WORK AT FAMILY BUSINESS OR ON FAMILY FARM
cowksup DOES PARTNER SUPERVISE ANYONE
whatco2 CLASSIFY PLACE WHERE PARTNERS WORKS
whatpa2 How would you classify the place where father (or oldest same-sex parent) worked? Was this mainly...?
whatma2 How would you classify the place where mother (or youngest same-sex parent) worked? Was this mainly...?
whatslf2 How would you classify the place where you ...? Was this mainly...?
racerank1 FIRST RACE SELECTED
racerank2 SECOND RACE SELECTED
racerank3 THIRD RACE SELECTED
adoptus IMMIGRANTS LIVING IN US SHOULD ADOPT US CULTURE
immfate FATE OF ILLEGAL IMMIGRANTS
letinhsp1 IMMIGRATION FROM LATIN AMERICA SHOULD DECREASE OR INCREASE
letinasn1 IMMIGRATION FROM ASIA SHOULD DECREASE OR INCREASE
xmoviey SEEN PORNOGRAPHY IN PAST YEAR
vote20 REMEMBER IF VOTED IN 2020 ELECTION
pres20 VOTED TRUMP OR BIDEN
if20who WHO YOU WOULD HAVE VOTED FOR IN 2020
wordk WORD K
wordl WORD L
wordn WORD N
fechld2 MOTHER WORKING DOESN'T HURT CHILDREN - ISSP VERSION
fepresch2 PRESCHOOL KIDS SUFFER IF MOTHER WORKS - ISSP VERSION
rspgndr WOMEN VS MEN RESPONSIBILITY FOR THE HOME
prntlk MOTHER VS FATHER CARE FOR CHILD
prntfnce MOTHER VS FATHER PROVIDE FINANCIALLY
prntcre MOTHER VS FATHER DAILY CHILD CARE
prntply MOTHER VS FATHER PLAY WITH CHILD
prntbhav MOTHER VS FATHER TEACH CHILD TO BEHAVE
prntadvs MOTHER VS FATHER ADVISE CHILD
prntmdl MOTHER VS FATHER ROLE MODEL
orginc FINANCIAL DISTRIBUTION IN HOUSEHOLD
plan1 WHO IN HOUSEHOLD PLANS SOCIAL ACTIVITIES
sharehhw WHO IN HOUSEHOLD DOES HOUSEWORK
clsrltv WHO ARE CLOSE RELATIVES
rsprltv1 OFFER SIBLING PLACE TO LIVE
rsprltv2 OFFER PARENT PLACE TO LIVE
eldfnce GRANDPARENTS SHOULD HELP GRANDCHILDREN FINANCIALLY
rlyrltv RELY ON FRIENDS OR CLOSE RELATIVES
frndfam FRIENDS OR FAMILY MORE IMPORTANT
cabgndr MAN VS WOMAN CABINET POSITION
univgndr MAN VS WOMAN HEAD OF UNIVERSITY
execgndr MAN VS WOMAN SENIOR EXECUTIVE
yrfnce FINANCIAL SITUATION COMPARED TO LAST YEAR
nmbrkids NUMBER OF CHILDREN
conhlth CONFIDENCE IN HEALTH CARE SYSTEM IN US
hlthbtr HIGHER INCOMES AFFORD BETTER HEALTH CARE
hlthmore PEOPLE USE HEALTH CARE SERVICES MORE THAN NECESSARY
hlthgov GOVT SHOULD PROVIDE ONLY LIMITED HEALTH CARE
hlthinf HEALTH CARE SYSTEM IN US INEFFICIENT
hlthtax WILLING TO PAY HIGHER TAXES TO IMP HEALTH CARE FOR ALL
hlthctzn ACCESS TO PUBLIC FUNDED HEALTH CARE IF NOT CITIZEN
hlthdmg ACCESS TO PUBLIC FUNDED HEALTH CARE IF DAMAGE OWN HEALTH
hlthacc1 RICH VS POOR ACCESS TO HEALTHCARE
hlthacc2 OLD VS YOUNG ACCESS TO HEALTHCARE
hlthacc3 MEN VS WOMEN ACCESS TO HEALTHCARE
hlthacc4 CITIZEN VS NONCITIZEN ACCESS TO HEALTHCARE
hlthbeh SUFFER HEALTH PROB FROM BEHAVIOR
hlthenv SUFFER HEALTH PROB FROM ENVIRON WHERE WORK OR LIVE
hlthgene SUFFER HEALTH PROB BECAUSE OF GENES
hlthpoor SUFFER HEALTH PROB BECAUSE POOR
altmed ALT MED PROVIDES BETTER SOLUTIONS
doctrst DOCS CAN BE TRUSTED
docskls MEDICAL SKILLS OF DOCS NOT AS GOOD AS SHOULD BE
docearn DOCS CARE MORE ABOUT EARNINGS THAN PATIENTS
hlthweb LOOK UP HEALTH INFORMATION ONLINE IN PAST 12 MONTHS
hlthwblif LOOKED UP ONLINE - HEALTHY LIFESTYLE
hlthwbanx LOOKED UP ONLINE - ANXIETY OR STRESS
hlthwbvax LOOKED UP ONLINE - VACCINES
webhltbeh INFOMRATION ONLINE AFFECTED HEALTH POSITIVELY
webdocexp INFORMATION ONLINE HELPED ME UNDERSTAND A DOCTOR
websympt INTERNET IS USEFUL TO DECIDE IF SYMPTOMS ARE SERIOUS
webdradv INTERNET IS USEFUL TO DECIDE IF DOCTORS GIVE GOOD ADVICE
webrely HARD TO DISTINGUISH RELIABLE AND UNRELIABLE INFO ONLINE
vaxdoharm VACCINES DO MORE HARM THAN GOOD
immunbetr IMMUNITY SHOULD BE DEVELOPED BY GETTING ILL
hlthprb DIFFICULTIES WITH WORK OR HOUSEWORK DUE TO HEALTH PROB
hlthpain BODY ACHES OR PAINS IN LAST 4 WEEKS
hlthdep FELT UNHAPPY OR DEPRESSED IN LAST 4 WEEKS
hlthconf LOST CONFIDENCE IN SELF IN LAST 4 WEEKS
hlthnot FELT COULDN'T OVERCOME PROBS IN LAST 4 WEEKS
docvst HOW OFTEN VISIT DOCTOR
docalt HOW OFTEN VISIT ALT HEALTH CARE PRACTITIONER
medpay COULDN'T GET CARE BECAUSE COULDN'T PAY
medcommt COULDN'T GET CARE BECAUSE WORK/OTH COMMITMENTS
medwtlst COULDN'T GET CARE BECAUSE WAITLIST TOO LONG
medbest HOW LIKELY TO GET BEST TREATMENT AVAIL IN US
hlthsat HOW SATISFIED R WITH HEALTH CARE SYSTEM IN US
docsat1 HOW SATISFIED R WAS WITH LAST DOCTOR VISIT
altsat HOW SATISFIED R WITH ALT HEALTH TREATMENT
smokeday HOW MANY CIGS A DAY
drinkday1 HOW OFTEN R DRINKS 4+ DRINKS IN ONE DAY
physact HOW OFTEN R DOES PHYSICAL ACTIVITY FOR 20 MIN A DAY
frtvegs HOW OFTEN R EATS FRESH FRUIT/VEGGIES
disblty DOES R HAVE DISABILITY
weight_issp RESPONDENT WEIGHT
shutbus GOVT SHOULD SHUT DOWN BUSINESS DURING PANDEMIC
stayhome GOVT SHOULD MAKE PEOPLE STAY AT HOME
mobilsurv GOVT SHOULD TRACK SICK PEOPLE
reqmasks GOVT SHOULD REQUIRE MASKS
bangather GOVT SHOULD BAN GATHERINGS
stockval1 ESTIMATE OF TOTAL VALUE OF STOCKS IF SOLD TODAY
stockyr GRANTED SHARES OF STOCK IN PAST YEAR
stockyrval VALUE OF STOCK GRATNED IN PAST YEAR
stockoptyr GRANTED STOCK OPTIONS IN PAST YEAR
stoptyramt VALUE OF OPTIONS GRANTED IN PAST YEAR
extr2021 EXTRA PAY IN 2021
extraval1 ESTIMATE OF BONUS PAYMENTS LAST YEAR
yearval1 ESTIMATE OF DOLLAR VALUE OF PAYMENTS IN THAT YEAR
numorg1 ESTIMATE OF TOTAL PEOPLE IN R'S BUSINESS OR ORGANIZATION
perfrt PERFORMANCE RATING LAST YEAR
knowschd1 How far in advance know work schedule (2022 version)
wrkmeangfl I FIND MY WORK MEANINGFUL
strmgtsup MANGEMENT SUPPORTS STRESS PREVENTION
psysamephys MANAGEMENT SUPPORTS PSYCHOLOGICAL HEALTH
allorglevel ALL LEVELS OF ORG ARE INVOLVED IN STRESS PREVENTION
feelnerv HOW OFTEN FELT NERVIOUS IN PAST 2 WEEKS
worry HOW OFTEN COULD NOT CONTROL WORRYING IN PAST 2 WEEKS
feeldown HOW OFTEN FELT DOWN IN PAST 2 WEEKS
nointerest HOW OFTEN FELT NO INTEREST IN DOING THINGS IN PAST 2 WEEKS
svyenjoy ENJOY TAKING SURVEYS
svyid1 WILLINGNESS TO USE VIDEO CHAT
svyid2 WILLINGNES FOR IN-PERSON SURVEY
yrlvmus ATTEND LIVE MUSIC OR THEATER IN PAST 12 MONTHS
yrartxbt ATTEND ART EXHIBIT IN PAST 12 MONTHS
yrmovie SEE MOVIE IN PAST 12 MONTHS
artsout OUTDOOR ART ACTIVITY IN PAST 12 MONTHS
yrcreat CREATE ART IN PAST 12 MONTHS
yrrdg READ FICTION OR POETRY IN PAST 12 MONTHS
yrtour ONLINE ART TOUR IN PAST 12 MONTHS
yrstmus LIVESTREAMED MUSIC OR THEATER IN PAST 12 MONTHS
yrarmus ARCHIVED LIVESTREAMED MUSIC OR THEATER IN PAST 12 MONTHS
yrstpo LIVESTREAMED READING EVENT IN PAST 12 MONTHS
yrarpo ARCHIVED LIVESTREAMED READING EVENT IN PAST 12 MONTHS
yrclass ONLINE CLASS IN PAST 12 MONTHS
yrpod LISTEN TO ART PODCASTS IN PAST 12 MONTHS
cvdlvmus CHANGE IN IN-PERSON EVENTS SINCE FIRST YEAR OF COVID
cvdart CHANGE IN IN-PERSON ART SINCE FIRST YEAR OF COVID
cvdmov CHANGE IN IN-PERSON MOVIES SINCE FIRST YEAR OF COVID
cvdcreat CHANGE IN CREATING ART SINCE FIRST YEAR OF COVID
cvdrdg CHANGE IN READING SINCE FIRST YEAR OF COVID
cvdtour CHANGE IN ONLINE TOURS SINCE FIRST YEAR OF COVID
cvdstmus CHANGE IN LIVESTEAMED MUSIC OR THEATER SINCE FIRST YEAR OF COVID
cvdarmus CHANGE IN ARCHIVED LIVESTREAMED MUSIC OR THEATER SINCE FIRST YEAR OF COVID
cvdstpo CHANGE IN LIVESTREAMED READING EVENTS SINCE FIRST YEAR OF COVID
cvdarpo CHANGE IN ARCHIVED LIVESTREAMED READING EVENTS SINCE FIRST YEAR OF COVID
cvdclass CHANGE IN ONLINE CLASSES SINCE FIRST YEAR OF COVID
cvdpod CHANGE IN ART PODCASTS SINCE FIRST YEAR OF COVID
neastatus NEA FOLLOW-ON STATUS
wrkwayup_next BLACK PEOPLE OVERCOME PREJUDICE WITHOUT FAVORS - FOLLOW-ON VERSION
blkmblty GENERATIONS OF SLAVERY MAKE CHANGE HARD FOR BLACK PEOPLE
blkdsrv BLACK PEOPLE GET LESS THAN THEY DESERVE
blktry BLACK PEOPLE DO NOT TRY HARD ENOUGH
brv5 DEATH OF SOMEONE CLOSE IN PAST 5 YEARS
brv5sp DEATH OF SPOUSE OR PARTNER
brv5par DEATH OF PARENT
brv5grand DEATH OF GRANDPARENT
brv5child DEATH OF CHILD
brv5sib DEATH OF SIBLING
brv5oth DEATH OF SOMEONE ELSE
brv5spnum NUMBER OF SPOUSE DEATHS
brv5partnum NUMBER OF PARTNER DEATHS
brv5dadnum NUMBER OF FATHER DEATHS
brv5momnum NUMBER OF MOTHER DEATHS
brv5filnum NUMBER OF FATHER IN LAW DEATHS
brv5milnum NUMBER OF MOTHER IN LAW DEATHS
brv5gmanum NUMBER OF GRANDMOTHER DEATHS
brv5gpanum NUMBER OF GRANDFATHER DEATHS
brv5sonnum NUMBER OF SON DEATHS
brv5daunum NUMBER OF DAUGHTER DEATHS
brv5chinum NUMBER OF STEPCHILD DEATHS
brv5bronum NUMBER OF BROTHER DEATHS
brv5sisnum NUMBER OF SISTER DEATHS
brv5silnum NUMBER OF BROTHER-IN-LAW OR SISTER-IN-LAW DEATHS
brv5cuznum NUMBER OF COUSIN DEATHS
brv5frndnum NUMBER OF FRIEND DEATHS
brv5cowknum NUMBER OF COWORKER DEATHS
brv5othnum NUMBER OF OTHER DEATHS
brv16 DEATH OF SOMEONE CLSOE BEFORE AGE 16
brv16sp DEATH OF SPOUSE OR PARTNER
brv16par DEATH OF PARENT
brv16sib DEATH OF SIBLING
brv16grand DEATH OF GRANDPARENT
brv16oth DEATH OF SOMEONE ELSE
brv16spnum NUMBER OF SPOUSE DEATHS
brv16partnum NUMBER OF PARTNER DEATHS
brv16dadnum NUMBER OF FATHER DEATHS
brv16momnum NUMBER OF MOTHER DEATHS
brv16filnum NUMBER OF FATHER IN LAW DEATHS
brv16milnum NUMBER OF MOTHER IN LAW DEATHS
brv16gmanum NUMBER OF GRANDMOTHER DEATHS
brv16gpanum NUMBER OF GRANDFATHER DEATHS
brv16bronum NUMBER OF BROTHER DEATHS
brv16sisnum NUMBER OF SISTER DEATHS
brv16silnum NUMBER OF BROTHER-IN-LAW OR SISTER-IN-LAW DEATHS
brv16cuznum NUMBER OF COUSIN DEATHS
brv16frndnum NUMBER OF FRIEND DEATHS
brv16othnum NUMBER OF OTHER DEATHS
gestate ABORTION LEGAL PAST 4.5 MONTHS
abgender ABORITON LEGAL FOR GENDER SELECTION
abbelief PRO-CHOICE VS PRO-LIFE
vaxhstncy PARENTS CHOOSE NOT TO VACCINATE THEIR CHILDREN
vaxkids VACCINES ARE IMPORTANT FOR CHILDREN
vaxsafe VACCINES ARE SAFE
fluvax FLU VACCINE IN PAST 12 MONTHS
covid12 COVID VACCINE EVER
covemply CHANGE IN EMPLOYMENT OVER COVID PANDEMIC
pandinc CHANGE IN HOUSEHOLD INCOME OVER COVID PANDEMIC
pandmet CHANGE IN SOCIALIZATION OVER COVID PANDEMIC
biokids NUMBER OF BIOLOGICAL CHILDREN
malekids NUMBER OF MALE CHILDREN
firstkidsex SEX OF FIRST CHILD
nonbinkids FIRST CHILD NONBINARY
femself HOW FEMININE R SEES SELF
mascself HOW MASCULINE R SEES SELF
relig_next RELIGION - FOLLOW-ON VERSION
denom_next DENOMINATION - FOLLOW-ON VERSION
jew_next WHAT SORT OF JEW - FOLLOW-ON VERSION
nextstatus GSS NEXT FOLLOW-ON STATUS
racdif1x DIFFERENCES DUE TO DISCRIMINATION (LONGER INTRO)
racdif2x DIFFERENCES DUE TO IN-BORN LEARNING ABILITY
racdif3x DIFFERENCES DUE TO LACK OF EDUCATION
racdif4x DIFFERENCES DUE TO LACK OF WILL
worksick HOW MANY TIMES IN THE LAST 90 DAYS DID R WORK WHILE ILL
indus10_next INDUSTRY - FOLLOW-ON VERSION
occ10_next OCCUPATION - FOLLOW-ON VERSION
other_next OTHER PROTESTANT DENOMINATION - FOLLOW-ON VERSION
fund_next FUNDAMENTALIST - FOLLOW-ON VERSION
hompop_exp TOTAL PEOPLE IN HH (EXPERIMENTAL VERSION)
modesequence INITIAL MODE OF CONTACT FOR RESPONDENT
rheight RESPONDENT HEIGHT
instype01 FIRST TYPE OF INSURANCE MENTIONED
instype02 SECOND TYPE OF INSURANCE MENTIONED
instype03 THIRD TYPE OF INSURANCE MENTIONED
instype04 FOURTH TYPE OF INSURANCE MENTIONED
totalincentive totalincentive
kidsund18 ANY KIDS UNDER 18 IN HH
babies_exp KIDS 0-6 IN HH(EXPERIMENTAL VERSION)
preteen_exp KIDS 7-12 IN HH(EXPERIMENTAL VERSION)
teens_exp KIDS 13-17 IN HH(EXPERIMENTAL VERSION)
adults_exp ADULTS 18+ IN HH(EXPERIMENTAL VERSION)
lngrltnshp R IN LONG-TERM RELATIONSHIP IN HH
rsblng18 R HAS SIBLING IN HH
rchild18 R IS CHILD OF ANOTHER ADULT IN HH
rprnt18 R IS PARENT OF ANOTHER ADULT IN HH
rbioprnt18 R IS BIOLOGICAL PARENT OF ANOTHER ADULT IN HH
radptprnt18 R IS ADOPTED PARENT OF ANOTHER ADULT IN HH
rstpprnt18 R IS STEP-PARENT OF ANOTHER ADULT IN HH
rgprnt18 R IS GRANDPARENT OF ANOTHER ADULT IN HH
rfmly18 R IS EXTENDED FAMILY OF ANOTHER ADULT IN HH
rntrltd18 R IS NOT RELATED TO ANOTHER ADULT IN HH
rrltu18 R IS EXTENDED FAMILY OF CHILD UNDER 18 IN HH
rnrltu18 R IS NOT RELATED TO CHILD UNDER 18 IN HH
rgprntu18 R IS GRANDPARENT OF CHILD UNDER 18 IN HH
rbioprnt R IS BIOLOGICAL PARENT OF CHILD UNDER 18 IN HH
radptprnt R IS ADOPTED PARENT OF CHILD UNDER 18 IN HH
rstpprnt R IS STEP-PARENT OF CHILD UNDER 18 IN HH
prnt R IS A PARENT IN SOME CAPACITY IN HH
childs_exp TOTAL CHILDREN UNDER 18 IN HH (EXPERIMENTAL VERISON)
respnumh NUMBER IN FAMILY OF R (HEF)
hefinfo1 NUMBER OF HOUSEHOLD ROSTER INFORMANT
famgen_exp NUMBER OF FAMILY GENERATIONS IN HOUSEHOLD (EXPERIMENTAL VERSION)
agehef1 AGE OF FIRST PERSON IN HOUSEHOLD SCREENING
agehef2 AGE OF SECOND PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef3 AGE OF THIRD PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef4 AGE OF FOURTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef5 AGE OF FIFTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef6 AGE OF SIXTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef7 AGE OF SEVENTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef8 AGE OF EIGHTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef9 AGE OF NINTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef10 AGE OF TENTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef11 AGE OF ELEVENTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef12 AGE OF TWELFTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef13 AGE OF THIRTEENTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
agehef14 AGE OF FOURTEENTH PERSON IN HOUSEHOLD SCREENING (IF APPLICABLE)
hompoph TOTAL PEOPLE IN HH (HOUSEHOLD SCREENING VERSION)
hhtype1_exp HOUSEHOLD TYPE (CONDENSED) (EXPERIMENTAL VERSION)
batch SAMPLE BATCH
subsamprate Subsampling rate corresponding to two-phase design
wtssps_nea POSTSTRATIFICATION WEIGHT FOR ANALYZING NEA FOLLOW-ON
wtssnrps_nea POSTSTRATIFICATION AND NONRESPONSE WEIGHT FOR ANALYZING NEA FOLLOW-ON
wtssps_next POSTSTRATIFICATION WEIGHT FOR ANALYZING GSS NEXT FOLLOW-ON
wtssnrps_next POSTSTRATIFICATION AND NONRESPONSE WEIGHT FOR ANALYZING GSS NEXT FOLLOW-ON
neaeligible NEA FOLLOW-ON ELIGIBLE
nexteligible GSS NEXT FOLLOW-ON ELIGIBLE
reltrad Religious tradition
reltrad16 Religious tradition age 16
mighist When R came to U.S.
migage Age when R came to U.S.
wordsum7 number words correct in vocabulary test (7 common items)
wordsumold number words correct in vocabulary test (original items)
wordsumnew number words correct in vocabulary test (experiment items)
hispanic_0022 R Hispanic Specific
numemps_0422 if self employed, number of other employees
uscitzn_0822 If not born in US, is R a US citizen
sibs_7222 Number of siblings (including step- and adopted)
racecen1_0022 What is R's race, first mention
racecen2_0022 What is R's race, second mention
racecen3_0022 What is R's race, third mention
earnrs_7222 How many in family earned money?
coden_1222 Partner's denomination
denom_7222 Specific denomination
denom16_7322 Denomination in which R was raised
spden_7322 Specific denomination, spouse
major1_1222 College major 1
major2_1222 College major 2
unrelat_7222 Number in household not related
babies_exp_22 KIDS 0-6 IN HH(EXPERIMENTAL VERSION)
childs_exp_22 TOTAL CHILDREN UNDER 18 IN HH (EXPERIMENTAL VERISON)
preteen_exp_22 KIDS 7-12 IN HH(EXPERIMENTAL VERSION)
teens_exp_22 KIDS 13-17 IN HH(EXPERIMENTAL VERSION)
babies_7222 Household members less than 6 yrs old
childsinhh_2122 TOTAL CHILDREN IN HH (HOUSEHOLD COMPOSITION VERSION)
preteen_7222 Household members 6 thru 12 yrs old
teens_7222 Household members 13 thru 17 yrs old
agekdbrn_9422 R's age when 1st child born
dipged_1222 Diploma, ged, or other
hivtest1_0622 In what month and year was your last HIV test
hivtest2_0622 Where did you have your last HIV test
othlang1_0022 What other languages Does R speak
othlang2_0022 What other languages Does R speak
partners_8822 How many sex partner's R had in last year
famgen_7522 Number of family generations in household
famgen_exp_22 NUMBER OF FAMILY GENERATIONS IN HOUSEHOLD (EXPERIMENTAL VERSION)
rplace_7522 R's relationship to household head
hompop_7222 Number of persons in household
hompop_exp_22 TOTAL PEOPLE IN HH (EXPERIMENTAL VERSION)
reg16_7222 Region of residence, age 16
region_7222 Region of interview
raceacs14_2122 Other Pacific Islander
dwelling_8222 Type of structure

Source

Data: https://kjhealy.github.io/gssr/

Codebook: https://gss.norc.org/content/dam/gss/get-documentation/pdf/codebook/GSS%202022%20Codebook.pdf


General Social Survey, 2024

Description

These data come from the General Social Survey, administered in 2024. These data were collected by the National Opinion Research Center (NORC) at the University of Chicago. The observations represent individuals' responses to survey questions. The full data set – The General Social Survey Cumulative Data (1972-2024, release 3) – was generously provided through the gssr package. Further information about the GSS2024 data set (including question text) can be found in the GSS 2024 Codebook at: https://gss.norc.org/content/dam/gss/get-documentation/pdf/codebook/GSS%202024%20Codebook%20R3.pdf.

Usage

GSS2024

Format

A data frame with 3986 observations and 983 variables.

year GSS year for this respondent
id Respondent id number
wrkstat labor force status
hrs1 number of hours worked last week
hrs2 number of hours usually work a week
evwork ever work as long as one year
wrkslf r self-emp or works for somebody
occ10 r's census occupation code (2010)
prestg10 r's occupational prestige score (2010)
prestg105plus R's occupational prestige score using threshold method (2010)
indus10 r's industry code (naics 2007)
marital marital status
martype marital type
divorce ever been divorced or separated
widowed ever been widowed
spwrksta spouse labor force status
sphrs1 number of hrs spouse worked last week
sphrs2 no. of hrs spouse usually works a week
spevwork spouse ever work as long as a year
cowrksta partner's labor force status
cowrkslf partner self-emp. or works for somebody else
coevwork partner ever work as long as a year
cohrs1 number of hours partner worked last week
cohrs2 no. of hours partner usually works a week
spwrkslf spouse self-emp. or works for somebody
spocc10 spouse census occupation code (2010)
sppres10 Spouse occupational prestige score (2010)
sppres105plus Spouse occupational prestige score using threshold method (2010)
spind10 spouse's industry code (naics 2007)
coocc10 partner's census occupation code (2010)
coind10 partner's industry code (2010)
pawrkslf Father (or oldest same-sex parent) self-emp. or worked for somebody
paocc10 father's census occupation code (2010)
papres10 father's occupational prestige score (2010)
papres105plus Father's occupational prestige score using threshold method (2010)
paind10 father's industry code (naics 2007)
mawrkslf Mother (or youngest same-sex parent) self-emp. or worked for somebody
maocc10 mothers census occupation code (2010)
mapres10 mothers occupational prestige score (2010)
mapres105plus Mothers occupational prestige score using threshold method (2010)
maind10 mothers industry code (naics 2007)
sibs number of brothers and sisters
childs number of children
age age of respondent
agekdbrn r's age when 1st child born
educ highest year of school completed
paeduc Highest year school completed, father (or oldest same-sex parent)
maeduc Highest year school completed, mother (or youngest same-sex parent)
speduc highest year school completed, spouse
coeduc highest year school completed, partner
codeg partner's highest degree
degree r's highest degree
padeg Father's (or oldest same-sex parent's) highest degree
madeg Mother's (or youngest same-sex parent's) highest degree
spdeg spouse's highest degree
major1 college major 1
major2 college major 2
dipged diploma, ged, or other
sex respondents sex
race race of respondent
res16 type of place lived in when 16 yrs old
reg16 region of residence, age 16
mobile16 geographic mobility since age 16
family16 living with parents when 16 yrs old
famdif16 reason not living with parents
mawrkgrw Did mother (or youngest same-sex parent) ever work for pay for as long as a year while you were growing up?
incom16 r's family income when 16 yrs old
born was r born in this country
parborn were r's parents born in this country
granborn how many grandparents born outside u.s.
hompop number of persons in household
babies household members less than 6 yrs old
preteen household members 6 thru 12 yrs old
teens household members 13 thru 17 yrs old
adults household members 18 yrs and older
unrelat number in household not related
earnrs how many in family earned money
income total family income
rincome respondents income
income16 total family income
rincom16 respondents income
region region of interview
xnorcsiz expanded norc size code
partyid political party affiliation
vote16 remember if voted in 2016 election
pres16 vote clinton or trump
if16who who you would have voted for
polviews think of self as liberal or conservative
natspac space exploration program
natenvir improving & protecting environment
natheal improving & protecting nations health
natcity solving problems of big cities
natcrime halting rising crime rate
natdrug dealing with drug addiction
nateduc improving nations education system
natrace Improving the conditions of Black people
natarms military, armaments, and defense
nataid foreign aid
natfare welfare
natroad highways and bridges
natsoc social security
natchld assistance for childcare
natsci supporting scientific research
natenrgy developing alternative energy sources
natspacy space exploration:version y
natenviy the environment:version y
nathealy health:version y
natcityy assistance to big cities:version y
natcrimy law enforcement:version y
natdrugy drug rehabilitation:version y
nateducy education:version y
natracey Assistance to Black people: version y
natarmsy national defense:version y
nataidy assistance to other countries:ver y
natfarey assistance to the poor:version y
eqwlth should govt reduce income differences
tax r's federal income tax
spkath allow anti-religionist to speak
colath allow anti-religionist to teach
libath allow anti-religious book in library
spkrac allow racist to speak
colrac allow racist to teach
librac allow racists book in library
spkcom allow communist to speak
colcom should communist teacher be fired
libcom allow communists book in library
spkmslm allow muslim clergymen preaching hatred of the us
colmslm allow anti-american muslim clergymen teaching in college
libmslm allow anti-american muslim clergymen's books in library
cappun favor or oppose death penalty for murder
gunlaw favor or oppose gun permits
courts courts dealing with criminals
grass should marijuana be made legal
relig r's religious preference
denom specific denomination
fund how fundamentalist is r currently
attend how often r attends religious services
reliten strength of affiliation
postlife belief in life after death
pray how often does r pray
relig16 religion in which raised
denom16 denomination in which r was raised
fund16 how fundamentalist was r at age 16
sprel spouse's religious preference
spden specific denomination, spouse
spfund how fundamentalist is spouse currently
corel partner's religious preference
coden partner's denomination
cofund how fundamentalist is partner's current religion
prayer bible prayer in public schools
bible feelings about the bible
racopen vote on open housing law
raclive any opp. race in neighborhood
affrmact Favor preference in hiring Black people
wrkwayup Black people overcome prejudice without favors
happy general happiness
hapmar happiness of marriage
hapcohab happiness of relt with partner
health condition of health
life is life exciting or dull
helpful people helpful or looking out for selves
fair people fair or try to take advantage
trust can people be trusted
confinan confid in banks & financial institutions
conbus confidence in major companies
conclerg confidence in organized religion
coneduc confidence in education
confed confid. in exec branch of fed govt
conlabor confidence in organized labor
conpress confidence in press
conmedic confidence in medicine
contv confidence in television
conjudge confid. in united states supreme court
consci confidence in scientific community
conlegis confidence in congress
conarmy confidence in military
obey to obey
popular to be well liked or popular
thnkself to think for ones self
workhard to work hard
helpoth to help others
socrel spend evening with relatives
socommun spend evening with neighbor
socfrend spend evening with friends
socbar spend evening at bar
weekswrk weeks r worked last year
partfull was r's work part-time or full-time?
joblose is r likely to lose job
jobfind could r find equally good job
satjob work satisfaction
richwork if rich, continue or stop working
class subjective class identification
rank r's self ranking of social position
satfin satisfaction with financial situation
finalter change in financial situation
finrela opinion of family income
wksub does r or spouse have supervisor
wksubs does supervisor have supervisor
wksub1 does r or spouse or partner have a supervisor
wksubs1 does supervisor have supervisor
wksup does r or spouse supervise anyone
wksups does subordinate supervise anyone
wksup1 does r or spouse or partner supervise anyone
wksups1 does subordinant supervise anyone
unemp ever unemployed in last ten yrs
union does r or spouse belong to union
union1 does r or spouse or partner belong to union
getahead opinion of how people get ahead
parsol r's living standard compared to parents
kidssol r's kids living standard compared to r
fepol women not suited for politics
abdefect strong chance of serious defect
abnomore married--wants no more children
abhlth woman's health seriously endangered
abpoor low income--cant afford more children
abrape pregnant as result of rape
absingle not married
abany abortion if woman wants for any reason
chldidel ideal number of children
pillok birth control to teenagers 14-16
sexeduc sex education in public schools
divlaw divorce laws
premarsx sex before marriage
teensex sex before marriage:teens 14-16
xmarsex sex with person other than spouse
homosex homosexual sex relations
pornlaw feelings about pornography laws
xmovie seen x-rated movie in last year
spanking favor spanking to discipline child
letdie1 allow incurable patients to die
suicide1 suicide if incurable disease
suicide2 suicide if bankrupt
suicide4 suicide if tired of living
polhitok ever approve of police striking citizen
polabuse citizen said vulgar or obscene things
polmurdr citizen questioned as murder suspect
polescap citizen attempting to escape custody
polattak citizen attacking policeman with fists
fear afraid to walk at night in neighborhood
owngun have gun in home
pistol pistol or revolver in home
shotgun shotgun in home
rifle rifle in home
rowngun does gun belong to r
hunt does r or spouse hunt
hunt1 does r or spouse or partner hunt
news how often does r read newspaper
tvhours hours per day watching tv
phone does r have telephone
coop r's attitude toward interview
comprend r's understanding of questions
form form of split questionnaire asked
fechld mother working doesn't hurt children
fepresch preschool kids suffer if mother works
fefam better for man to work, woman tend home
racdif1 differences due to discrimination
racdif2 differences due to in-born learning ability
racdif3 differences due to lack of education
racdif4 differences due to lack of will
helppoor should govt improve standard of living?
helpnot should govt do more or less?
helpsick should govt help pay for medical care?
helpblk Should govt aid Black people?
numgiven number of persons mentioned
race1 race of person number 1
race2 race of person number 2
race3 race of person number 3
race4 race of person number 4
race5 race of person number 5
spouse1 person #1 is r's spouse
spouse2 person #2 is r's spouse
spouse3 person #3 is r's spouse
spouse4 person #4 is r's spouse
spouse5 person #5 is r's spouse
parent1 person #1 is r's parent
parent2 person #2 is r's parent
parent3 person #3 is r's parent
parent4 person #4 is r's parent
parent5 person #5 is r's parent
child1 person #1 is r's child
child2 person #2 is r's child
child3 person #3 is r's child
child4 person #4 is r's child
child5 person #5 is r's child
othfam1 person #1 is r's family member
othfam2 person #2 is r's family member
othfam3 person #3 is r's family member
othfam4 person #4 is r's family member
othfam5 person #5 is r's family member
cowork1 person #1 is r's coworker
cowork2 person #2 is r's coworker
cowork3 person #3 is r's coworker
cowork4 person #4 is r's coworker
cowork5 person #5 is r's coworker
memgrp1 person #1 is member of r's group
memgrp2 person #2 is member of r's group
memgrp3 person #3 is member of r's group
memgrp4 person #4 is member of r's group
memgrp5 person #5 is member of r's group
neighbr1 person #1 is r's neighbor
neighbr2 person #2 is r's neighbor
neighbr3 person #3 is r's neighbor
neighbr4 person #4 is r's neighbor
neighbr5 person #5 is r's neighbor
friend1 person #1 is r's friend
friend2 person #2 is r's friend
friend3 person #3 is r's friend
friend4 person #4 is r's friend
friend5 person #5 is r's friend
advisor1 person #1 is r's advisor
advisor2 person #2 is r's advisor
advisor3 person #3 is r's advisor
advisor4 person #4 is r's advisor
advisor5 person #5 is r's advisor
other1 person #1 is other type of acquaintance
other2 person #2 is other type of acquaintance
other3 person #3 is other type of acquaintance
other4 person #4 is other type of acquaintance
other5 person #5 is other type of acquaintance
talkto1 how often does r talk to person #1?
talkto2 how often does r talk to person #2?
talkto3 how often does r talk to person #3?
talkto4 how often does r talk to person #4?
talkto5 how often does r talk to person #5?
god r's confidence in the existence of god
reborn has r ever had a 'born again' experience
wlthwhts rich - poor
wlthblks rich - poor
wlthhsps rich - poor
workwhts hard working - lazy
workblks hard working - lazy
workhsps hard working -lazy
liveblks neighborhood half black
marblk close relative marry Black person
marasian close relative marry asian
marhisp close relative marry hispanic
marwht r favor close relative marrying white person
discaff whites hurt by aff. action
yousup how many people do you supervise directly
spwksup does spouse supervise anyone
united americans united or divided on values
impfinan imp to r of financial security
impmar imp to r of being married
impkids imp to r of having children
impgod imp to r of having faith in god
impthngs imp to r of having nice things
impcultr imp to r of being cultured
impjob imp to r of having a fulfilling job
impself imp to r of being self-sufficient
fejobaff for or against preferential hiring of women
refpromo refuse a job promotion?
refmorwk take on additional paid work?
workless cut back on your work?
noathome miss a family occasion or holiday?
nonurse unable to care for a sick child-relative?
discaffm a man won't get a job or promotion
discaffw a woman won't get a job or promotion
fehire should hire and promote women
hapfeel felt happy?
ashamed felt ashamed of something you'd done?
fearful felt fearful about something
angry felt angry at someone?
proud felt proud of something you'd done?
vigversn vignette version number
seriousp how serious x s situation is
charactr how likely x s situation caused by bad character
imbalnce how likely x s situation caused by imbalance in brain
wayraise how likely x s situation caused by the way raised
stresses how likely x s situation caused by stress
genetics how likely x s situation caused by genetic problem
godswill how likely x s situation caused by god s will
upsdowns how likely x is experiencing normal ups-and-downs of life
breakdwn how likely x is experiencing nervous breakdown
mentlill how likely x is experiencing mental illness
physill how likely x is experiencing physical illness
viglabel how likely x is experiencing vignettes
dectreat how able is x to decide receive treatment
decmoney how able is x to decide managing own money
imprvown how likely x s situation will improve on its own
imprvtrt how likely x s situation will improve with treatment
vignei how willing r would have x as a neighbor
vigsoc how willing r would spend time socializing with x
vigfrnd how willing r would make friends with x
vigwork how willing r would work closely with x on a job
viggrp how willing r would have a group home for x
vigmar how willing r would have x marry in r's family
hurtoth how likely x violent toward other people
hurtself how likely x violent toward oneself
tlkfam x should talk to family and friends
tlkclrgy x should talk to religious leader
meddoc x should go to general medical doctor for help
mentldoc x should go to psychiatrist for help
mentloth x should go to other mental health professional for help
sphealer x should go to spiritual healer for help
selfhelp x should join a self-group with similar problem
otcmed x should take non-prescription medication
rxmed x should take prescription medication
mentlhos x should check into a mental hospital
dofirst here are the things you said ... should do... interviewer: read list
mustdoc x should be forced to be examined at a clinic by law
mustmed x should be forced to take prescribed medication by law
musthosp x should be admitted to be hospitalized for treatment by law
dangrslf x should be admitted to be hospitalized for treatment if dangerous to x
dangroth x should be admitted to be hospitalized for treatment if dangerous to others
knwmhosp know anyone who was in a hospital
knwpatnt known anyone seeing a psychologist etc?
fammhneg r's family's negative attitudes about mh problems
othmhneg r's other acquaintences negative attitudes about mh problems
diagnosd r ever diagnosed with mh problem
mhtreatd r ever treated for mh problem
relpersn r consider self a religious person
sprtprsn r consider self a spiritual person
aimofart aim of art
othlang can r speak language other than english/spanish
othlang1 what other languages does r speak
othlang2 what other languages does r speak
spklang how well does r speak other language
letinhsp immigration from latin america should be increased
letinasn immigration from asia should be increased
compuse r use computer
webmob r uses home internet through mobile device
huclean r hu interior cleanliness rating
satdemoc r satisfied with way democracy works in america
disrspct r is treated with less courtesy or respect than others
poorserv r recieves poorer service in restaurants or stores
notsmart people act as if they think r is not smart
afraidof people act as if they are afraid of r
threaten r is threatened or harassed
abmoral r has a moral opposition to abortion
abhelp1 r would help with arrangements for abortion
abhelp2 r would help with paying for abortion
abhelp3 r would help with paying for abortion-related other costs
abhelp4 r would help with emotional support for abortion
numpets how many pets r's family has
dog dog
cat cat
smammal small mammal (rabbit, gerbil, hamster)
bird bird
fish fish
reptile reptile (turtle, snake, lizard)
othpet other pet
petfam how often r considers pet member of family
chldvig Vignette asked
chldprob how serious r consider his or her problem
badchar situation caused by own bad character
chembal situation by a chemical imbalance in the brain
stressfl situation caused by stressful circumstances
geneprob situation caused by a genetic or inherited problem
raised situation caused by the way he or she was raised
violtv situation caused by watching violent tv
discipln situation caused by lacking discipline in the
allergic situation caused by food or chemical allergies
imprvdis situation will improve with strict discipline
imprveat situation will improve with some changes in diet
imprvmed situation will improve with medical treatment
nextdoor how willing r move next door to child's family
spendeve how willing r spend evening with child's family
chldfrnd how willing r have children make friends with ch
chldsch how willing r have child in same class of r's ch
adfam would r get advice from family if child was r's
adtch would r get advice from teachers child if was r's
addoc would go to a medical doctor if he was r's child
adcoumed would r have child on med by counselor's advice
adpsy would r go to a psychiatrist if child was r's
grwingup is child experiencing normal ups and downs
mntlill is child experiencing a mental illness
violpeop would child do something violent toward other
violself would child do something violent to own self
numemps number of employee for the self-employed
wrkslffam does r work in family business or farm
mhunsure people like x are unpredictable
mhtrtot2 r knows someone who received treatment for mental health
polint your interest in politics
poleff11 don't have any say about what the government does
cctv civil liberties - video surveillance
posslq does r have marital partner
posslqy relationship status and cohabitation or not
marcohab cohabitation status
trcourts how much trust r has in american courts
goodlife standard of living of r will improve
marsame Homosexual couples should have the right to marry one another
meovrwrk men hurt family when focus on work too much
localnum number of employees: r's work site
relactiv how often does r take part in relig activities
befair how often do you think people take advantage
cantrust people can be trusted or cant be too careful
religinf the u.s. would be a better country if religion had less influence
tempgen greenhouse effect danger to envir
grncon concerned about environment
tempgen1 greenhouse effect danger to envir
ambornin how important to have been born in america
amcit how important to have american citizenship
amchrstn how important to be a christian
amgovt how important to respect america's laws etc
amfeel how important to feel american
amcitizn agree i would rather be a citizen of america
amshamed agree there are things make me ashamed
belikeus agree better if people were more like americans
ambetter agree america is a better country
ifwrong agree people should support their country
prouddem how proud the way democracy works
proudpol how proud its political influence in the world
proudeco how proud america's economic achievements
proudspt how proud its achievements in sports
proudart how proud its achievements in the arts & lit.
proudhis how proud its history
imports america should limit the import
wrldgovt international bodies should enforce environment
amownway america should follow its own interests
forland foreigner's should not be allowed to buy land
amtv tv should give preference to american films
immcrime immigrants increase crime rates
immameco immigrants good for america
immjobs immigrants take jobs away
letin1 number of immigrants to america nowadays should be
citizen are you a citizen of america?
amancstr how important to have american ancestry
intlincs large intl company damage to local business
letin1a number of immigrants nowadays should be
immassim what statement about immigrants matches view
paytaxes how important never to try to evade taxes
obeylaws how important always to obey laws
watchgov how important to keep watch on action of govt
helpusa how important to help worse off ppl in america
solok how important: citizens have adequate standard of living
rghtsmin how important: govt protect right of minorities
polopts how important: ppl given chance to participate in decsns
oppsegov how important: citizen engage in acts of civil disobeyed
poleff18 govt do not care much what ppl like r think
corruptn how widespread corruption is in pub service in america
demtoday how well democracy work in america
dem10pst how well did democracy work in america ten yrs ago
dem10fut how well will democracy work in america in ten yrs
polnews how often use media to get political news
leftrght how left or right in politics
partners how many sex partner's r had in last year
sexsex sex of sex partner's in last year
sexfreq frequency of sex during last year
hivtest have you ever been tested for hiv
hivtest1 in what month and year was your last hiv test
hivtest2 where did you have your last hiv test
sexornt sexual orientation
realinc family income in constant $
realrinc r's income in constant $
coninc family income in constant dollars
conrinc respondent income in constant dollars
ethnic country of family origin
eth1 1st mentioned country of origin
hispanic hispanic specified
racecen1 what is r's race 1st mention
racecen2 what is r's race 2nd mention
racecen3 what is r's race 3rd mention
uscitzn is r us citizen
vetyears years in armed forces
dwelling type of structure
dwelown does r own or rent home?
dwelown16 did rs family own or rent home when r was age 16
worda word a
wordb word b
wordc word c
wordd word d
worde word e
wordf word f
wordg word g
wordh word h
wordi word i
wordj word j
wordsum number words correct in vocabulary test
hhrace race of household
hhtype1 household type (condensed)
famgen number of family generations in household
rplace r's relationship to household head
rvisitor is r a visitor?
visitors number of visitor's in household
dateintv date of interview
isco08 respondent's occupation, 2010 census & 2008 isco code
paisco08 r's father's occupation, 2010 census & 2008 isco code
maisco08 r's mother's occupation, 2010 census & 2008 isco code
spisco08 r's mothers occupation, 2010 census & 2008 isco code
coisco08 partner's occupation, 2010 census & 2008 isco code
sei10 r's socioeconomic index (2010)
sei10educ Percentage of some college educ in OCC10 based on ACS 2010
sei10inc Percentage of $45k+ earners in OCC10 based on ACS 2010
pasei10 r's father's socioeconomic index (2010)
pasei10educ Percentage of some college educ in PAOCC10 based on ACS 2010
pasei10inc Percentage of $45k+ earners in PAOCC10 based on ACS 2010
masei10 r's mother's socioeconomic index (2010)
masei10educ Percentage of some college educ in MAOCC10 based on ACS 2010
masei10inc Percentage of $45k+ earners in MAOCC10 based on ACS 2010
spsei10 r's spouse's socioeconomic index (2010)
spsei10educ Percentage of some college educ in SPOCC10 based on ACS 2010
spsei10inc Percentage of $45k+ earners in SPOCC10 based on ACS 2010
cosei10 partner's socioeconomic index (2010)
cosei10educ Percentage of some college educ in COOCC10 based on ACS 2010
cosei10inc Percentage of $45K+ earners in COOCC10 based on ACS 2010
copres10 Partner's occupational prestige score (2010)
copres105plus partner's occupational prestige score using threshold method (2010)
cohort year of birth
whoelse1 presence of others: children under six
whoelse2 presence of others: older children
whoelse3 presence of others: spouse partner
whoelse4 presence of others: other relatives
whoelse5 presence of others: other adults
whoelse6 presence of others: no one
intid Interviewer id
feeused fee given to get case
feelevel amount of fees paid
lngthinv how long was interview
intage age of interviewer
intethn race of interviewer
mode interview done in-person or over the phone
intsex sex of interviewer
intyrs years of service as an interviewer at norc
consent participation/recording consent
adminconsent consent to possible data linkage
letdie1y allow incurable patients to die (form 2)
ballot ballot used for interview
issp filter for issp cases
sampcode Sampling error code
sample sampling frame and method
oversamp Weights for black oversamples
phase subsampling: two-phase design.
spanself if this interview had only been available in english, would you...
spaneng interviews conducted in spanish or english
hlthstrt would you say the respondent's health in general is excellent, good, fair, or poor
kidsinhh does interviewer believe that there are children under the age of 15 present at
respond estimate of the probability that this household will respond to the survey
incuspop estimated income status of housing unit
neisafe how safe interviewer thinks neighborhood is
rlooks r physical attractiveness rating
rgroomed r grooming rating
rhlthend r health rating
vstrat Variance stratum
vpsu Variance primary sampling unit
kish
famdif16y Which of the following best describes your situation?
pawrkslf2 At this job, was [dadfill] an employee, self-employed without employees, or self-employed with employees?
pawrkslffam Father (or oldest same-sex parent) owned family business or farm
mawrkslf2 At this job, was mother (or youngest same-sex parent) an employee, self-employed without employees, or self-employed with employees?
mawrkslffam Mother (or youngest same-sex parent) owned family business or farm
ethworld1 From what part of the world did your ancestors come? Europe
ethworld2 From what part of the world did your ancestors come? Africa
ethworld3 From what part of the world did your ancestors come? Asia
ethworld4 From what part of the world did your ancestors come? Middle East
ethworld5 From what part of the world did your ancestors come? South America
ethworld6 From what part of the world did your ancestors come? Central America
ethworld7 From what part of the world did your ancestors come? North America
ethworld8 From what part of the world did your ancestors come? Caribbean
ethworld9 From what part of the world did your ancestors come? Oceania
wrkgovt1 govt employee
wrkgovt2 private employee
spkathy allow anti-religionist to speak y
libathy allow anti-religionist to teach y
spkracy allow anti-religious book in library y
libracy allow racists book in library y
spkcomy allow communist to speak y
colcomy should communist teacher be fired y
libcomy allow communists book in library y
spkmslmy allow muslim clergymen preaching hatred of the us y
libmslmy allow anti-american muslim clergymen's books in library y
polhitoky ever approve of police striking citizen y
polabusey citizen said vulgar or obscene things y
polattaky citizen attacking policeman with fists y
raceacs1 white
raceacs2 black
raceacs3 american indian or alaska native
raceacs4 asian indian
raceacs5 chinese
raceacs6 filipino
raceacs7 japanese
raceacs8 korean
raceacs9 vietnamese
raceacs10 other asian
raceacs14 other pacific islander
raceacs15 some other race
raceacs16 hispanic
abdefectg strong chance of serious defect (grid on web)
abnomoreg married--wants no more children (grid on web)
abhlthg woman's health seriously endangered (grid on web)
abpoorg low income--cant afford more children (grid on web)
abrapeg pregnant as result of rape (grid on web)
absingleg not married (grid on web)
suicide1g suicide if incurable disease
suicide2g suicide if bankrupt
suicide4g suicide if tired of living
maborn Was R's mother (or youngest same-sex parent) born in this country?
paborn Was R's father (or oldest same-sex parent) born in this country?
sexbirth1 r's sex assigned at birth (2021)
norelgsp is r atheist or agnostic
hivafraid afraid to be around a person with hiv
hivimmrl people with hiv have participated in immoral activities
hivdscrm there is a lot of discrimination against people with hiv
ptnrornt recent partner's sexual orientation
ptnrsxbrth recent partner's sex at birth
wtssps person post-stratification weight
wtssnrps Person post-stratification weight, nonrespondents adjusted
prayerv bible prayer in public schools (with volunteered response on web)
courtsv courts dealing with criminals (with volunteered response on web)
discaffwv a woman won't get a job or promotion (with volunteered response on web)
racopenv vote on open housing law (with volunteered response on web)
getaheadv opinion of how people get ahead (with volunteered response on web)
divlawv divorce laws (with volunteered response on web)
helpfulv people helpful or looking out for selves (with volunteered response on web)
fairv people fair or try to take advantage (with volunteered resposne on web)
trustv can people be trusted (with volunteered response on web)
grassv should marijuana be made legal (with volunteered response on web)
relitenv strength of affiliation (with volunteered response on web)
biblev feelings about the bible (with volunteered response on web)
postlifev belief in life after death (with volunteered response on web)
kidssolv r's kids living standard compared to r (with volunteered response on web)
fepolv women not suited for politics (with volunteered response on web)
prayernv bible prayer in public schools (no volunteered response on web)
courtsnv courts dealing with criminals (no volunteered response on web)
discaffwnv a woman won't get a job or promotion (no volunteered response on web)
racopennv vote on open housing law (no volunteered response on web)
getaheadnv opinion of how people get ahead (no volunteered response on web)
divlawnv divorce laws (no volunteered response on web)
helpfulnv people helpful or looking out for selves (no volunteered response on web)
fairnv people fair or try to take advantage (no volunteered response on web)
trustnv can people be trusted (no volunteered response on web)
grassnv should marijuana be made legal (no volunteered response on web)
relitennv strength of affiliation (no volunteered response on web)
biblenv feelings about the bible (no volunteered response on web)
postlifenv belief in life after death (no volunteered response on web)
kidssolnv r's kids living standard compared to r (no volunteered response on web)
fepolnv women not suited for politics (no volunteered response on web)
abanyg abortion if woman wants for any reason (grid on web)
fileversion NA
spwrkslf2 SPOUSE SELF-EMPLOYED, WITH EMPLOYEES, OR WORK FOR SOMEONE ELSE
spwrkslffam SPOUSE WORK AT FAMILY BUSINESS OR ON FAMILY FARM
childsinhh TOTAL CHILDREN IN HH (HOUSEHOLD COMPOSITION VERSION)
adultsinhh TOTAL ADULTS IN HH (HOUSEHOLD COMPOSITION VERSION)
whatsp2 How would you classify the place where your ...? Was this mainly...?
cowrkslf2 PARTNER SELF-EMPLOYED, WITH EMPLOYEES, OR WORK FOR SOMEONE ELSE
cowrkslffam PARTNER WORK AT FAMILY BUSINESS OR ON FAMILY FARM
cowksup DOES PARTNER SUPERVISE ANYONE
whatco2 CLASSIFY PLACE WHERE PARTNERS WORKS
whatpa2 How would you classify the place where father (or oldest same-sex parent) worked? Was this mainly...?
whatma2 How would you classify the place where mother (or youngest same-sex parent) worked? Was this mainly...?
whatslf2 How would you classify the place where you ...? Was this mainly...?
racerank1 FIRST RACE SELECTED
racerank2 SECOND RACE SELECTED
racerank3 THIRD RACE SELECTED
adoptus IMMIGRANTS LIVING IN US SHOULD ADOPT US CULTURE
immfate FATE OF ILLEGAL IMMIGRANTS
xmoviey SEEN PORNOGRAPHY IN PAST YEAR
vote20 REMEMBER IF VOTED IN 2020 ELECTION
pres20 VOTED TRUMP OR BIDEN
if20who WHO YOU WOULD HAVE VOTED FOR IN 2020
wordk WORD K
wordl WORD L
wordn WORD N
svyenjoy ENJOY TAKING SURVEYS
svyid1 WILLINGNESS TO USE VIDEO CHAT
svyid2 WILLINGNES FOR IN-PERSON SURVEY
gestate ABORTION LEGAL PAST 4.5 MONTHS
nextstatus GSS NEXT FOLLOW-ON STATUS
racdif1x DIFFERENCES DUE TO DISCRIMINATION (LONGER INTRO)
racdif2x DIFFERENCES DUE TO IN-BORN LEARNING ABILITY
racdif3x DIFFERENCES DUE TO LACK OF EDUCATION
racdif4x DIFFERENCES DUE TO LACK OF WILL
hompop_exp TOTAL PEOPLE IN HH (EXPERIMENTAL VERSION)
modesequence INITIAL MODE OF CONTACT FOR RESPONDENT
totalincentive totalincentive
babies_exp KIDS 0-6 IN HH(EXPERIMENTAL VERSION)
preteen_exp KIDS 7-12 IN HH(EXPERIMENTAL VERSION)
teens_exp KIDS 13-17 IN HH(EXPERIMENTAL VERSION)
adults_exp ADULTS 18+ IN HH(EXPERIMENTAL VERSION)
prnt R IS A PARENT IN SOME CAPACITY IN HH
childs_exp TOTAL CHILDREN UNDER 18 IN HH (EXPERIMENTAL VERISON)
famgen_exp NUMBER OF FAMILY GENERATIONS IN HOUSEHOLD (EXPERIMENTAL VERSION)
hhtype1_exp HOUSEHOLD TYPE (CONDENSED) (EXPERIMENTAL VERSION)
batch SAMPLE BATCH
subsamprate Subsampling rate corresponding to two-phase design
wtssps_next POSTSTRATIFICATION WEIGHT FOR ANALYZING GSS NEXT FOLLOW-ON
wtssnrps_next POSTSTRATIFICATION AND NONRESPONSE WEIGHT FOR ANALYZING GSS NEXT FOLLOW-ON
nexteligible GSS NEXT FOLLOW-ON ELIGIBLE
pawrkgrw Did father (or oldest same-sex parent) ever work for pay for as long as a year while you were growing up?
conlabory Confidence in labor unions
racdif5 differences due mainly to unbringing
marsamey Same-sex couples should have the right to marry one another
norelgsp16 R no religion age 16
spnorelgsp Spouse no religion
mobiledata HOUSEHOLD HAS ACCESS TO INTERNET USING CELLULAR DATA PLAN
broadband HOUSEHOLD HAS ACCESS TO INTERNET USING BROADBAND INTERNET SERVICE
rateincumb24 RATING OF JOE BIDEN
ratechall124 RATING OF DONALD TRUMP
ratechall224 RATING OF KAMALA HARRIS
ratechall324 RATING OF NIKKI HALEY
ratedemp RATING OF DEMOCRATIC PARTY
raterepp RATING OF REPUBLICAN PARTY
ratemaga RATING OF MAGA REPUBLICANS
lkelyvot LIKELIHOOD TO VOTE IN 2024 ELECTION
whovote24a VOTING INTENTION IN 2024 ELECTION (POST JULY 25 2024)
econstat WHAT DO YOU THINK ABOUT THE STATE OF THE ECONOMY THESE DAYS IN THE UNITED STATES?
polintrst INTERESTED IN CAMPAIGNS THIS YEAR
intrnetuse Frequency of internet use over past 12 months
nouseint1 No internet use over past 12 months due to unavaliblity
nouseint2 No internet use over past 12 months due to poor quality of connection
nouseint3 No internet use over past 12 months due to cost
nouseint4 No internet use over past 12 months due to security and privacy
nouseint5 No internet use over past 12 months due to lack of utility/importance
nouseint6 No internet use over past 12 months due to age
nouseint7 No internet use over past 12 months due to usability
nouseint8 No internet use over past 12 months due to lack of desire
nouseint9 No internet use over past 12 months due to literacy
nouseint10 No internet use over past 12 months due to lack of time
nouseint11 No internet use over past 12 months due to government restriction
nouseint12 No internet use over past 12 months due to other reasons
intaccprxy How often R asked someone to use the internet on their behalf
prxyuse Likelihood R ask someone to use the internet on their behalf in near future
ftruse Likelihood R uses internet in next 12 months
inthome Frequency R has home internet access
intprfssnl Frequency R has work/school internet access
intpub Frequency R has internet access in public
intbhlf Frequency R was asked to use internet for someone else
unplug Amount R reduced time spent on internet in last 12 months
unplgrsn Reason R reduced time spent on internet
intskill R's skill at using the internet
intsurf R's skill at online searches
intliteracy R's knowledge of online information discretion
intapps R's skill at learning new software
intcomm How often R uses internet for communication
intshare How often R uses internet for sharing photos/videos
intsearch How often R uses internet for search
intgame How often R uses internet for video games
intstream How often R uses internet for music/video
intfncl How often R uses internet for financial transactions
intmeet R more comfortable meeting people online?
intlnly R would feel lonely without internet?
inttrig How often R reads political opinions they disagree with online
intnews How often R accesses non-routine political news sources
intcnfrm How often R tries to confirm information with other sources
intrust How much R trusts people they've only met online
intpolview Trend of online contact with politically similar
intoppo Trend of online contact with politically different
intviews How often R talks about politics online
techesy Does technology make our lives easier?
harmgood1 Does technology do more harm than good?
nextgen1 Does technology provide more opportunities?
intscam Has R or someone they know been a victim of online scam
inthrss Has R or someone they know been harassed online
polnewsfrom Where R gets political news
smnews Reliability of news on social media
tvnews1 Reliability of news on TV
papernews Reliability of newspapers
radionews Reliability of news on podcasts, radio
webnews Reliability of news on web
modepet Has R signed a petition in last 12 months
modeprot Has R participated in a protest in last 12 months
modelobby Has R contacted a politician in last 12 months
modeorgprot Has R organized a protest in last 12 months
modeorg Has R belonged to an activist group in last 12 months
trppl Trust in others, 10 point scale
trcong Trust in congress, 10 point scale
dataprot Responsibility for internet data protection
emonitor1 Should government be able to monitor online communication
infodeal Would R provide info for discounts, free products
infoprofit Would R provide info companies could profit from
gendtech Are women or men benefiting more from digital tech
agetech Are older or younger people benefiting more from digital tech
urbantech Are cities or countryside benefiting more from digital tech
eductech Are educated or uneducated benefiting more from digital tech
classtech Are poor or rich benefiting more from digital tech
aiworry R worried that AI will take over many jobs done by humans
aimed R's comfort with medical operation by robot
aidrive R's comfort with driverless car
owndecns Best if every nation had its own country
brneffrt Possible to become American if born elsewhere
immcrime1 Immigrants increase crime rates
immjobs1 Immigrants take jobs away
immideas1 Immigrants bring new ideas and cultures
immwlfare People born in America should be given preference over immigrants when it comes to jobs, housing, or health care
conscrp Importance of military service
incgap1 Government's responsibility to reduce economic inequality
leftrght1 How left or right in politics
servpub How much the public service serves people
fulldem The people, not politicians, should make important decisions
poltalk Politicians talk too much and don't take action
conpow Conflict between ordinary people and those in power
bizmoney Business leaders make money at expense of ordinary people
experts Better to rely on opinions of experts than ordinary people
biasnews News coverage about politics in America is biased
usmca1 R's familiarity with USMCA
usmca2 Does the US benefit from USMCA
morextrm Everyone is like X but X's case is just a bit more extreme and ongoing
bullied Situation caused by having been bullied
smedia Situation caused by exposure to social media
imprvown1 How likely child X situation will improve on its own
mustdoc1 X's parents should be forced by law to have X examined at a clinic
mustmed1 X's parents should be forced by law to have X take prescribed medication
musthosp1 X's parents should be forced by law to admit X to be hospitalized for treatment
physill1 How likely child X is experiencing physical illness
bullpeer Would X bully peers
rumopeer Would X spread rumors about peers
fighpeer Would X get into fights with peers
schshoot Would X carry out a school shooting
cutself Would X intentionally cut self
negself Would X intentionally neglect own health
foodalc Would X engage in excessive and uncontrolled food or alcohol consumption
risklife Would X at risk for taking their own life
takelife Would X actually take own life
dsndntpay Reparations for descendants of slaves
acpttg Accepting people
chngdocs Changing official documents
feovrwrk Family life suffers when women work
sexornt1 Sexual orientation (reask, self-administered)
sexpaid Ever had sex with a person you paid or who paid you for sex
nocondom Had vaginal or anal sex without a condom in past 12 months
nodocidu Ever injected any drugs other than those prescribed for you
femself1 How feminine R sees self (0 to 6 scale)
mascself1 How masculine R sees self (0 to 6 scale)
femsee1 How feminine others see R (0 to 6 scale)
mascsee1 How masculine others see R (0 to 6 scale)
devtype Are you taking this survey on a...
family16sex Sex of two parents living with when 16 yrs old
racdif5x differences due mainly to upbringing (longer intro)
reltrad Religious tradition
reltrad16 Religious tradition age 16
conorelgsp Partner no religion
sexnow2 R's sex now (3 category)
mighist When R came to U.S.
migage Age when R came to U.S.
whovote24 VOTING INTENTION IN 2024 ELECTION (PRE JULY 25 2024)
whovotets VOTING INTENTION - TIME SERIES
voteprob VOTING PROBLEM IN US ELECTIONS
rateincumbts RATING OF INCUMBENT PRESIDENT - TIME SERIES
ratechall1ts RATING OF PRESIDENTIAL CHALLENGER 1 - TIME SERIES
ratechall2ts RATING OF PRESIDENTIAL CHALLENGER 2 - TIME SERIES
ratechall3ts RATING OF PRESIDENTIAL CHALLENGER 3 - TIME SERIES
aneseligible ANES FOLLOW-ON ELIGIBLE
anespre_status ANES PRE-ELECTION SURVEY STATUS
anespost_status ANES POST-ELECTION SURVEY STATUS
chldfam_asn Percent of family during childhood who were Asian
chldfam_blk Percent of family during childhood who were Black
chldfam_hisp Percent of family during childhood who were Latino
chldfam_wht Percent of family during childhood who were White
chldfam_oth Percent of family during childhood who were some other race
chldadlt_asn Percent of adults you knew (friends, care takers, neighbors) during childhood who were Asian
chldadlt_blk Percent of adults you knew (friends, care takers, neighbors) during childhood who were Black
chldadlt_hisp Percent of adults you knew (friends, care takers, neighbors) during childhood who were Latino
chldadlt_wht Percent of adults you knew (friends, care takers, neighbors) during childhood who were White
chldadlt_oth Percent of adults you knew (friends, care takers, neighbors) during childhood who were some other race
chldchld_asn Percent of children you knew (friends, classmates) during childhood who were Asian
chldchld_blk Percent of children you knew (friends, classmates) during childhood who were Black
chldchld_hisp Percent of children you knew (friends, classmates) during childhood who were Latino
chldchld_wht Percent of children you knew (friends, classmates) during childhood who were White
chldchld_oth Percent of children you knew (friends, classmates) during childhood who were some other race
chldshop_asn Percent of people who shopped at the supermarket during childhood who were Asian
chldshop_blk Percent of people who shopped at the supermarket during childhood who were Black
chldshop_hisp Percent of people who shopped at the supermarket during childhood who were Latino
chldshop_wht Percent of people who shopped at the supermarket during childhood who were White
chldshop_oth Percent of people who shopped at the supermarket during childhood who were some other race
ptnrsxnow1 Recent partner's sex now (3 category)
perla R skin tone via interviewer
petsseq Position of pet questions in questionnaire
credrep R credit report
credchoice R's credit score has to do with choices or things out of your control
credam Americans' credit score has to do with choices or things out of their control
credland Use credit report - landlords
credemp Use credit report - employers
credcar Use credit report - car insurers
chldidel_next Ideal number of children - follow-on version
chldpref_next R ideal number of children - follow-on version
knwsexor R knows anyone who is gay, lesbian, or bisexual
happy_next General happiness - follow-on version
perla_self R self-reported skin tone
topprob1_next Most important issue for America - follow on version
topprob2_hlth Next important issue (health care) - follow-on version
topprob2_educ Next important issue (education) - follow-on version
topprob2_crim Next important issue (crime) - follow-on version
topprob2_envr Next important issue (environment) - follow-on version
topprob2_immg Next important issue (immigration) - follow-on version
topprob2_econ Next important issue (economy) - follow-on version
topprob2_terr Next important issue (terrorism) - follow-on version
topprob2_povt Next important issue (poverty) - follow-on version
topprob2_none Next important issue (none of these) - follow-on version
hhtype1_next Household type (condensed) - follow-on version
famgen_next Number of family generations in household - follow-on version
dateintv_next Date of GSS Next interview
wordsum7 number words correct in vocabulary test (7 common items)
wordsumold number words correct in vocabulary test (original items)
wordsumnew number words correct in vocabulary test (experiment items)

Source

Data: https://kjhealy.github.io/gssr/

Codebook: https://gss.norc.org/content/dam/gss/get-documentation/pdf/codebook/GSS%202024%20Codebook%20R3.pdf


Uniform Crime Reports, 2015 (County-Level)

Description

This subset of data comes from one iteration of the Uniform Crime Reporting Program, administered in 2015. These data were collected by the Federal Bureau of Investigation under the United States Department of Justice. While the original data cover every reported crime event that took place in 2015, these data are aggregated to the county level. Additionally, these data are combined with (a subset of) county-level demographic data from the 2005-2009 (5-year estimates) iteration of the American Community Survey. Information about the data set can be found in the UCR2015 Codebook at: https://burrelvannjr.com/docs/UCR2015_Codebook.pdf.

Usage

UCR2015

Format

A data frame with 3108 observations and 102 variables.

id State and County Identifier
statefips FIPS Code for State
countyfips FIPS Code for County
state State Name
county County Name
totalpop Total County Population
pct_unemp Percent of Total County Population who are Unemployed
pct_homeowners Percent of Total County Population who are Homeowners
pct_college Percent of Total County Population who are over 25 years old and hold a Bachelor's Degree
med_fam_inc Median Family Income (in Thousands of Dollars)
pop_density Population Density (Population over Land Area in County)
pct_poverty Percent of Total County Population who are below the Poverty Line
pct_white Percent of Total County Population who are White
pct_black Percent of Total County Population who are Black
pct_latino Percent of Total County Population who are Latinx/e/a/o
income_inequality Gini Coefficient of Income Inequality -- The distribution of income across the county population. High scores indicate greater inequality, with high-income individuals receiving much larger percentages of the total income made in the county.
rape Forcible rape (Count)
robbery Robbery (Count)
agg_assault Aggravated assault (Count)
burglary Burglary-breaking or entering (Count)
larceny Larceny-theft (not motor vehicles) (Count)
mv_theft Motor vehicle theft (Count)
other_assault Other assaults (Count)
arson Arson (Count)
forgery Forgery and counterfeiting (Count)
fraud Fraud (Count)
embezzlement Embezzlement (Count)
stolen_property Stolen property-buy, receive, poss. (Count)
vandalism Vandalism (Count)
weapons Weapons-carry, posses, etc. (Count)
sex_offense Sex offenses (not rape or prostitution) (Count)
drug_abuse Total drug abuse violations (Count)
drug_sale Sale/manufacture (subtotal) (Count)
drug_possession Possession (subtotal) (Count)
drug_sale_coke Sale/mfg-Opium, coke, and their derivatives (Count)
drug_sale_mj Sale/mfg-Marijuana (Count)
drug_possession_coke Possession-Opium, coke, and their derivatives (Count)
drug_possession_mj Possession-Marijuana (Count)
drug_possession_narc Possession-Truly addicting synthetic narcotics (Count)
drug_possession_other Possession-Other dangerous non-narc drugs (Count)
domestic_offenses Offenses against family and children (Count)
dui Driving under the influence (Count)
liquor_violation Liquor laws (Count)
disorderly_conduct Disorderly conduct (Count)
other_nontraffic_violation All other non-traffic offenses (Count)
murder Murder and non-negligent manslaughter (Count)
drug_sale_other Sale/mfg-Other dangerous non-narc drugs (Count)
prostitution Prostitution and commercialized vice (Count)
drug_sale_narc Sale/mfg-Truly addicting synthetic narcotics (Count)
vagrancy Vagrancy (Count)
drunkenness Drunkenness (Count)
curfew_loitering Curfew and loitering violations (Count)
runaway Runaways (Count)
manslaughter_negligence Manslaughter by negligence (Count)
gambling_all Gambling (total) (Count)
suspicion Suspicion (Count)
gambling_bookmaking Bookmaking (horse and sports) (Count)
gambling_other All other gambling (Count)
gambling_lottery Number and lottery (Count)
rape_pct Forcible rape (as percent of total county population)
robbery_pct Robbery (as percent of total county population)
agg_assault_pct Aggravated assault (as percent of total county population)
burglary_pct Burglary-breaking or entering (as percent of total county population)
larceny_pct Larceny-theft (not motor vehicles) (as percent of total county population)
mv_theft_pct Motor vehicle theft (as percent of total county population)
other_assault_pct Other assaults (as percent of total county population)
arson_pct Arson (as percent of total county population)
forgery_pct Forgery and counterfeiting (as percent of total county population)
fraud_pct Fraud (as percent of total county population)
embezzlement_pct Embezzlement (as percent of total county population)
stolen_property_pct Stolen property-buy, receive, poss. (as percent of total county population)
vandalism_pct Vandalism (as percent of total county population)
weapons_pct Weapons-carry, posses, etc. (as percent of total county population)
sex_offense_pct Sex offenses (not rape or prostitution) (as percent of total county population)
drug_abuse_pct Total drug abuse violations (as percent of total county population)
drug_sale_pct Sale/manufacture (subtotal) (as percent of total county population)
drug_possession_pct Possession (subtotal) (as percent of total county population)
drug_sale_coke_pct Sale/mfg-Opium, coke, and their derivatives (as percent of total county population)
drug_sale_mj_pct Sale/mfg-Marijuana (as percent of total county population)
drug_possession_coke_pct Possession-Opium, coke, and their derivatives (as percent of total county population)
drug_possession_mj_pct Possession-Marijuana (as percent of total county population)
drug_possession_narc_pct Possession-Truly addicting synthetic narcotics (as percent of total county population)
drug_possession_other_pct Possession-Other dangerous non-narc drugs (as percent of total county population)
domestic_offenses_pct Offenses against family and children (as percent of total county population)
dui_pct Driving under the influence (as percent of total county population)
liquor_violation_pct Liquor laws (as percent of total county population)
disorderly_conduct_pct Disorderly conduct (as percent of total county population)
other_nontraffic_violation_pct All other non-traffic offenses (as percent of total county population)
murder_pct Murder and non-negligent manslaughter (as percent of total county population)
drug_sale_other_pct Sale/mfg-Other dangerous non-narc drugs (as percent of total county population)
prostitution_pct Prostitution and commercialized vice (as percent of total county population)
drug_sale_narc_pct Sale/mfg-Truly addicting synthetic narcotics (as percent of total county population)
vagrancy_pct Vagrancy (as percent of total county population)
drunkenness_pct Drunkenness (as percent of total county population)
curfew_loitering_pct Curfew and loitering violations (as percent of total county population)
runaway_pct Runaways (as percent of total county population)
manslaughter_negligence_pct Manslaughter by negligence (as percent of total county population)
gambling_all_pct Gambling (total) (as percent of total county population)
suspicion_pct Suspicion (as percent of total county population)
gambling_bookmaking_pct Bookmaking (horse and sports) (as percent of total county population)
gambling_other_pct All other gambling (as percent of total county population)
gambling_lottery_pct Number and lottery (as percent of total county population)

Source

Data: https://www.icpsr.umich.edu/web/NACJD/studies/36794 and https://data.census.gov/app/mdat/ACSPUMS1Y2023

Codebook: https://burrelvannjr.com/docs/UCR2015_Codebook.pdf


Well-Being and Basic Needs Survey, 2019 (Individual-Level)

Description

This subset of data comes from one iteration of the Well-Being and Basic Needs Survey, administered in 2019. These data were collected by the Urban Institute. Information about the data set can be found in the WBBN2019 Codebook at: https://burrelvannjr.com/docs/WBBN2019_Codebook.pdf.

Usage

WBBN2019

Format

A data frame with 7694 observations and 23 variables.

subsidized_housing Is your household paying lower rent because the federal, state, or local government is paying part of the cost?
food_last Food did not last
nervous During the past 30 days, about how often did you feel: nervous?
hopeless During the past 30 days, about how often did you feel: hopeless?
restless During the past 30 days, about how often did you feel: restless or fidgety?
no_cheer During the past 30 days, about how often did you feel: so sad that nothing could cheer you up
worthless During the past 30 days, about how often did you feel: worthless?
insured Thinking about your health insurance coverage over the past 12 months, how many months were you insured?
med_notafford Thinking about your health care experiences over the past 12 months, was there any time when you needed medical care but did not get it because you couldn't afford it?
working Are you currently working for pay or self-employed?
unexp_400 How confident are you that you could come up with $400 if an unexpected expense arose within the next month?
educ Education level
race_eth Race/ethnicity
sex_gender Sex/Gender
head_household Head of Household?
internet Internet access
children_in_house Number of children age 0-18 in household
food_insecure Household was food insecure in past 12 months
utility_suspend Gas or electric company turned off service or oil company would not deliver in oil past 12 months
utility_problems_paying Household was not able to pay full amount of gas, oil, or electricity bills in past 12 months
mortgage_cost How much is the regular monthly payment on this property, including mortgage payments, second mortgage or home equity loan payments, real estate taxes, insurance, and condominium fees?
rent_cost What is the monthly rent for the place where you live?
electricity_cost In a typical month, what is the total cost of electricity, gas, and any other fuel used in the place where you live?

Source

Data: https://www.icpsr.umich.edu/web/ICPSR/studies/38044

Codebook: https://burrelvannjr.com/docs/WBBN2019_Codebook.pdf


Simplified Bar Chart

Description

This function plots a bar chart (bar.chart) on a given data frame.

Usage

bar.chart(df, var1, lab = FALSE)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y. The variable of interest that should be plotted.

lab

logical (default set to FALSE). When set to lab = TRUE, will add frequency label for each bar in chart.

Value

This function returns the bar chart for var1 in data frame df.

Examples

data <- mtcars

bar.chart(data,cyl)

Simplified Boxplot

Description

This function plots a Box-and-Whisker (box) on a given data frame, and uses simplified calls within the function to parse the boxplot by up to 2 variables.

Usage

box(df, var1, by1, by2)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y. The variable of interest that should be plotted.

by1

the main independent/predictor variable, X_1. A grouping variable by which the boxplot for var1 should be parsed.

by2

a potential second independent/predictor variable, X_2. A second grouping variable by which the boxplot for var1 (already parsed by by1) should be parsed.

Examples

data <- mtcars

box(data,mpg,cyl)

Simplified Chi Square

Description

This function simplifies the call for Pearson's Chi Square test (chi.sq) on a given data frame.

Usage

chi.sq(
  df,
  var1,
  var2,
  correct = FALSE,
  post = FALSE,
  plot = FALSE,
  cramer = FALSE
)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y.

var2

the main independent/predictor variable, X.

correct

logical (default set to F). When set to correct = T, will employ Yates' continuity correction (for data that violate the normality assumption).

post

logical (default set to F). When set to post = T, will return results of post-hoc (Z) tests of the standardized residual for each cell (the standardized difference between observed and expected frequencies), using Bonferroni's alpha adjustment, and returns an adjusted p-value for each cell/comparison.

plot

logical (default set to F). When set to plot = T, will print a corrplot-style plot for showing both the value of difference between the standardized residual (Z) and the related level of significance of this difference (for each cell comparison) as well as a gradient color representing the relative value of this residual. Will also return results of post-hoc (Z) tests of the standardized residual for each cell (the standardized difference between observed and expected frequencies), using Bonferroni's alpha adjustment, and returns an adjusted p-value for each cell/comparison.

cramer

logical (default set to F). When set to post = T, will return results of Cramer's V, a measure of the strength of the association between the two variables.

Value

This function returns the summary results table for a Pearson's Chi Square test, examining the relationship between var1 from data frame df, and var2.

Examples

data <- mtcars

x2 <- chi.sq(data,vs,am)
summary(x2)


Chi Square Plot

Description

This function plots a cell-by-cell chart (chiplot) on a given matrix of standardized residuals (Z) from a chi square test.

Usage

chiplot(
  zmat,
  method = "square",
  type = "full",
  ggtheme = ggplot2::theme_classic(),
  title = "",
  show.legend = TRUE,
  legend.title = "Z",
  colors = c("firebrick2", "white", "dodgerblue3"),
  outline.color = "white",
  lab = FALSE,
  lab_col = "black",
  lab_size = 4,
  p.mat = NULL,
  z.crit = NULL,
  sig.level = 0.05,
  insig = pch,
  pch = 4,
  pch.col = "black",
  pch.cex = 5,
  tl.cex = 12,
  tl.col = "black",
  tl.srt = 45,
  digits = 2,
  as.is = FALSE
)

Arguments

zmat

a matrix of standardized residuals, extracted from the chi square test, to visualize.

method

the type of visualization used in plot (default set to "square").

type

the section of the plot that will be displayed (default set to "full").

ggtheme

ggplot2 function to set the theme of the plot (default set to ggplot2::theme_classic()).

title

title of the plot, extracted from the chi square test.

show.legend

logical (default set to TRUE), to display legend on plot.

legend.title

title of the legend (default set to "Z").

colors

a vector of 3 colors for negative, zero, and positive residuals.

outline.color

the outline color of the square (default set to "white").

lab

logical (default set to FALSE, but set to TRUE if extracted from chi square test), to display standardized residual (Z) value (and significance stars) on for each cell comparison on the plot.

lab_col

color of text displayed in each cell comparison for standardized residual (Z) value when lab = TRUE (default set to "black").

lab_size

size of text displayed in each cell comparison for standardized residual (Z) value when lab = TRUE (default set to 4).

p.mat

a matrix of p-values for each standardized residual (Z) value comparison, extracted from chi square test.

z.crit

the critical Z value for the comparison of standardized residuals (Z), extracted from the chi square test.

sig.level

the alpha value used to assess significance (default set to 0.05).

insig

glyphs to add on non-significant standardized residual (Z) values (default set to "pch").

pch

glyphs added to non-significant standardized residual (Z) values (default set to 4).

pch.col

color of pch glyphs (default set to "black").

pch.cex

size of pch glyphs (default set to 5).

tl.cex

size of text label for each category name for both variables (default set to 12).

tl.col

color of text label for each category name for both variables (default set to "black").

tl.srt

string rotation of text label for each category name for the variable on the x-axis (default set to 45).

digits

the number of decimal digits to be displayed in the plot (default set to 2, but set to 3 if extracted from chi square test).

as.is

determines how to handle dimnames, either left as strings (if set to TRUE), or converted (default set to FALSE).

Value

This function returns the chi square plot of standardized residuals for categories of var1 by var2 in data frame df, all of which are extracted from the chi square test.

Examples

data <- mtcars

x2 <- chi.sq(data,vs,am,post=TRUE)

chiplot(zmat = x2$z_mat,p.mat = x2$p_z_mat,z.crit = round(x2$z_crit, 4),
outline.color = "white",lab = TRUE,digits = 3)

Simplified Confidence Interval Calculation

Description

This function calculates the confidence interval (for a given confidence level) for a variable in a given data frame.

Usage

ci.calc(df, var1, cl)

Arguments

df

data frame to read in.

var1

the variable of interest for which the CI will be calculated.

cl

the desired confidence level (in percentages, ranging from 1 to 100).

Value

This function returns the mean, lower bound, upper bound, and standard error.

Examples

data <- mtcars

ci.calc(data,mpg,95)

Simplified Correlation Matrix

Description

This function creates a correlation (cormat) on a data frame of the variables in an equation.

Usage

cormat(df, formula)

Arguments

df

data frame to read in.

formula

the variables in the regression model, Y = X_1 + X_2 + ... + X_m, written as Y ~ X1 + X2...

Value

This function returns a correlation matrix for the variables provided in the formula.

Examples

data <- mtcars

cormat(data, mpg ~ wt + am)

Creating Dummy-Code Columns for Values of a Variable

Description

This function applies dummy-coding to a variable of interest, enabling the creation of n or n-1 columns/variables based on n number of attributes for the variable.

Usage

dummy(df, var, remove = FALSE)

Arguments

df

data frame to read in.

var

the variable to be dummy-coded. Is automatically converted to a character string.

remove

logical (default set to F). When set to remove = T, will return a data frame using the true number of dummy coded columns (e.g. n-1).

Value

This function updates the data frame with new variables (columns) representing unique values of a selected variable, and a binary score (0/1) for the absence or presence of a column's represented value for each observation.

Examples

data <- howell_aids_long

dummy(data, student)

Howell Student AIDS Knowledge Data (Long Form)

Description

This data set, from Howell, measures students' knowledge at three time points, in long form.

Usage

howell_aids_long

Format

A data frame with 12 observations and 3 variables.

student student id
time time point measured
knowledge student AIDS knowledge score (at various time points)

Howell Student AIDS Knowledge Data (Wide Form)

Description

This data set, from Howell, measures students' knowledge at three time points, in wide form.

Usage

howell_aids_wide

Format

A data frame with 4 observations and 4 variables.

student student id
t1 student AIDS knowledge score at time 1
t2 student AIDS knowledge score at time 2
t3 student AIDS knowledge score at time 3

Simplified Histogram

Description

This function plots a histogram (hst) on a given data frame, and uses simplified calls within the function to parse the histogram by up to 2 variables.

Usage

hst(df, var1, by1, by2)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y. The variable of interest that should be plotted.

by1

the main independent/predictor variable, X_1. A grouping variable by which the histogram for var1 should be parsed.

by2

a potential second independent/predictor variable, X_2. A second grouping variable by which the histogram for var1 (already parsed by by1) should be parsed.

Value

This function returns the histogram for var1 in data frame df. Can be split to return a histogram for var1 in data frame df, broken out by var2.

Examples

data <- mtcars

hst(data,mpg,cyl)

Simplified Independent Samples T-Test

Description

This function simplifies the call for the independent samples t-test (is.t) on a given data frame.

Usage

is.t(df, var1, var2, var.equal = TRUE, two.tailed = TRUE)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y.

var2

the main independent/predictor variable, X.

var.equal

logical (default set to T). When set to var.equal = F, will employ Welsh's correction to the t-test (for data that violate the equal variances assumption).

two.tailed

logical (default set to T). When set to two.tailed = F, will return results of a one-sided t-test.

Value

This function returns the summary results table for an independent samples t-test, examining the mean differences of var1 (in data frame df) between groups in var2.

Examples

data <- mtcars

ttest <- is.t(data,mpg,am)
summary(ttest)


Mode Function

Description

This function returns the mode for a given data frame.

Usage

mode(x, na.rm = FALSE)

Arguments

x

variable within data frame or a list of values.

na.rm

remove the NAs, default is FALSE.

Value

This function returns the mode for a variable within a data frame or a list of values.

Examples


data <- mtcars

mode(data$mpg)

Simplified One Sample T-Test

Description

This function simplifies the call for the one sample t-test (os.t) on a given data frame.

Usage

os.t(df, var1, mu)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y.

mu

the population mean, \mu.

Value

This function returns the summary results table for an one sample t-test, examining the mean differences between var1 (in data frame df) and the population mean mu.

Examples

data <- mtcars

ttest <- os.t(data,mpg,3)
summary(ttest)


Simplified One-Way Analysis of Variance

Description

This function simplifies the call for one-way ANOVA (ow.anova) on a given data frame. Also allows calls for Tukey's Honestly Significant Difference Post-Hoc Comparisons Test (hsd), as well as a means plot (plot).

Usage

ow.anova(df, var1, by1, plot = FALSE, hsd = FALSE)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y.

by1

the main independent/predictor variable, X. A grouping variable by which var1 should be parsed.

plot

logical (default set to F). When set to plot = T, will return a means plot with 95 percent confidence intervals, broken out by each group (by1).

hsd

logical (default set to F). When set to hsd = T, will return results of Tukey's Honestly Significant Difference Post-Hoc Comparisons Test.

Value

This function returns the summary results table for a one-way ANOVA, examining mean differences in var1 from data frame df, across by1 groups.

Examples

data <- mtcars

ow <- ow.anova(data,mpg,cyl,plot=TRUE)
summary(ow)

Simplified Correlation

Description

This function simplifies the call for Pearson's Product-Moment Correlation Coefficient (p.corr) on a given data frame.

Usage

p.corr(df, var1, var2)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y.

var2

the main independent/predictor variable, X.

Value

This function returns the summary results table for a Pearson's correlation, examining the relationship between var1 from data frame df, and var2.

Examples

data <- mtcars

p.corr(data,mpg,wt)

Simplified Paired Samples (Repeated Measures) T-Test

Description

This function simplifies the call for the paired samples t-test (ps.t) on a given data frame.

Usage

ps.t(df, t2, t1, var.equal = TRUE)

Arguments

df

data frame to read in.

t2

the t_2 or post-test variable.

t1

the t_1 or pre-test variable.

var.equal

logical (default set to T). When set to var.equal = F, will employ Welsh's correction to the t-test (for data that violate the equal variances assumption).

Value

This function returns the summary results table for an paired samples t-test, examining the mean differences between t2 and t1 (in data frame df).

Examples

data <- mtcars
data$mpg2 <- c(21.8,14.7,5.9,24.0,12.2,14.9,33.0,27.7,
29.9,33.9,16.0,14.7,13.3,23.1,38.0,39.7,24.1,33.9,
25.7,24.2,28.3,37.3,20.3,36.0,18.1,32.8,28.7,30.3,6.6,
26.4,35.8,32.8)

ttest <- ps.t(data,mpg2,mpg)
summary(ttest)


Simplified Normal (Q-Q) Plot

Description

This function plots a Q-Q/Quantile-Quantile plot (qq) on a given data frame, and uses simplified calls within the function to parse the Q-Q plot by up to 2 variables.

Usage

qq(df, var1, by1, by2)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y. The variable of interest that should be plotted.

by1

the main independent/predictor variable, X_1. A grouping variable by which the Q-Q plot for var1 should be parsed.

by2

a potential second independent/predictor variable, X_2. A second grouping variable by which the Q-Q plot for var1 (already parsed by by1) should be parsed.

Value

This function returns the quantile-quantile plot for var1 in data frame df. Can be split to return a quantile-quantile plot for var1 in data frame df, broken out by var2.

Examples

data <- mtcars

qq(data,mpg,cyl)

Simplified Residuals Plot

Description

This function creates a residual plot (residplot) on a data frame of the variables in an equation.

Usage

residplot(df, formula)

Arguments

df

data frame to read in.

formula

the variables in the regression model, Y = X_1 + X_2 + ... + X_m, written as Y ~ X1 + X2...

Examples

data <- mtcars

residplot(data, mpg ~ wt + am)

Reverse Coding for Scales

Description

This function applies reverse-coding to a variable of interest.

Usage

revcode(df, var, missing = c(""))

Arguments

df

data frame to read in.

var

the variable to be recoded.

missing

a list of values in the variable that are “missing” values.

Value

This function updates the data frame with a new variable with the recoded values.

Examples

data <- GSS2014

revcode(data, amcult)

Simplified One-Way Repeated Measures Analysis of Variance

Description

This function simplifies the call for repeated measures ANOVA (rm.anova) on a given data frame. Also allows calls for sphericity correction (correct), as well as a sphericity test table (sph).

Usage

rm.anova(
  df,
  id,
  times,
  scores = NULL,
  correct = TRUE,
  sph = FALSE,
  phc = FALSE
)

Arguments

df

data frame to read in.

id

the main grouping variable by which times will be analyzed

times

dependent variable values at the time points measured. If data are in wide form (where time points are listed as separate variables for each observation), read in as a list of time point variables (e.g. c("t1", "t2", "t3", ..., "tn")), where the values represent the scores at the various time points. Read in as list if data are in wide form. If data are in long form, the times variable is one column (rather than multiple columns) in the data frame, and must be paired with the scores variable for actual values (listed below).

scores

if data are in long form (where each group has multiple observations), a scores variable must be read in, which represents the values at the specific time points represented in the times variable.

correct

logical (default set to T). Corrects the results in the repeated measures ANOVA table – adjusts the degrees of freedom (df) by multiplying the sphericity assumed degrees of freedom (df) by the Greenhouse-Geisser Epsilon value. When set to correct = F, will print results of repeated measures ANOVA with sphericity assumed.

sph

logical (default set to F). When set to sph = T, will print a sphericity tests table with Mauchly's W, as well as two Epsilon values (Greenhouse-Geisser and Huynh-Feldt).

phc

logical (default set to F). When set to phc = T, will print a post-hoc comparisons table with Bonferroni's adjusted alpha levels (and p-values).

Examples

data <- howell_aids_wide
rm.anova(data, student, c("t1","t2","t3"))

data2 <- howell_aids_long
rm.anova(data2, student, time, scores=knowledge)

Simplified Scatterplot

Description

This function plots a scatterplot (scatter) on a given data frame, and adds a fit-line to the data.

Usage

scatter(df, var1, var2, lab = FALSE)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y.

var2

the independent/predictor variable, X.

lab

logical (default set to FALSE). When set to lab = TRUE, will add Pearson's correlation coefficient (r) value to the plot.

Examples

data <- mtcars

scatter(data,mpg,wt)

Standard Error Calculation

Description

This function calculates the standard error for a variable in a given data frame.

Usage

se(var, na.rm = TRUE)

Arguments

var

variable to read in.

na.rm

logical (default set to T). When set to na.rm = F, will include NA's in calculation.

Value

This function returns the standard error for a given variable

Examples

data <- mtcars

se(data$mpg)

Simplified STATA Predictive Margins

Description

This function returns a data frame with interactive margins and standard errors similar to those returned in the STATA margins call. The function can also return a margins plot.

Usage

stata.plm.margins(mod, plot = FALSE, error = NULL)

Arguments

mod

a plm model object.

plot

logical (default set to FALSE). When set to plot = TRUE, will return a an margins plot of the interaction terms.

error

the number standard deviation units for which the margins will be calculated (default set to 2).

Value

This function creates a data frame of predictive margins for the dependent variable, given values of the variables in the interaction.

Examples

library(plm)
data <- UCR2015
summary(mod <- plm(dui_pct ~ pct_poverty*pct_unemp +
income_inequality, data=data, index=c("state","county"),
model="within"))

stata.plm.margins(mod)

Summarize Results of chi.sq

Description

Displays results of chi.sq

Usage

## S3 method for class 'chisquare'
summary(object, ...)

Arguments

object

Object returned by chi.sq.

...

Additional parameters to pass on.

Value

Matrix of values for results from chi square test.

Examples

data1 <- mtcars
x2 <- chi.sq(data1, vs, am)

summary(x2)


Summarize Results of is.t

Description

Displays results of is.t

Usage

## S3 method for class 'ist'
summary(object, ...)

Arguments

object

Object returned by is.t.

...

Additional parameters to pass on.

Value

Matrix of values for results from independent samples t-test.

Examples

data1 <- mtcars
ttest <- is.t(data1, mpg, am)

summary(ttest)


Summarize Results of ow.anova

Description

Displays results of ow.anova

Usage

## S3 method for class 'oneway'
summary(object, ...)

Arguments

object

Object returned by ow.anova.

...

Additional parameters to pass on.

Value

Matrix of values for results from One-Way ANOVA test.

Examples

data1 <- mtcars
ow <- ow.anova(data1, mpg, cyl)

summary(ow)

Summarize Results of os.t

Description

Displays results of os.t

Usage

## S3 method for class 'ost'
summary(object, ...)

Arguments

object

Object returned by os.t.

...

Additional parameters to pass on.

Value

Matrix of values for results from one sample t-test.

Examples

data1 <- mtcars
ttest <- os.t(data1,mpg,3)

summary(ttest)


Summarize Results of ps.t

Description

Displays results of ps.t

Usage

## S3 method for class 'pst'
summary(object, ...)

Arguments

object

Object returned by ps.t.

...

Additional parameters to pass on.

Value

Matrix of values for results from paired samples t-test.

Examples

data1 <- mtcars
data1$mpg2 <- c(21.8,14.7,5.9,24.0,12.2,14.9,33.0,27.7,
29.9,33.9,16.0,14.7,13.3,23.1,38.0,39.7,24.1,33.9,
25.7,24.2,28.3,37.3,20.3,36.0,18.1,32.8,28.7,30.3,6.6,
26.4,35.8,32.8)

ttest <- ps.t(data1,mpg2,mpg)

summary(ttest)


Simplified Crosstabs

Description

This function returns a crosstab (tab) on a given data frame, and using simplified calls within the function for two variables, to return the observed and expected frequencies.

Usage

tab(df, var1, var2)

Arguments

df

data frame to read in.

var1

a first grouping variable.

var2

a second grouping variable.

Value

This function returns the observed and expected frequencies of a bivariate relationship between var1 and var2 in data frame df.

Examples

data <- mtcars

tab(data,mpg,cyl)

Simplified Descriptive Statistics

Description

This function returns univariate/descriptive statistics (univ.desc) on a variable within a given data frame, and uses simplified calls within the function to parse the descriptives by another variable.

Usage

univ.desc(df, var1, by1)

Arguments

df

data frame to read in.

var1

the dependent/outcome variable, Y. The variable of interest .

by1

the main independent/predictor variable, X_1. A grouping variable by which the descriptive statistics for var1 should be parsed.

Value

This function returns the descriptive statistics for var1 in data frame df. Can be split to return descriptives for var1 in data frame df, broken out by var2.

Examples

data <- mtcars

univ.desc(data,mpg)

Simplified Z Scores

Description

This function calculates the Z score for a given value, relative to the mean and standard deviation for a variable in a given data frame.

Usage

z.calc(df, var1, raw, tails = NULL)

Arguments

df

data frame to read in.

var1

the variable of interest for which the mean and standard deviations will be calculated.

raw

the desired raw score to compare with the mean and standard deviation of var1.

tails

to report a p-value (level of significance) for the reported Z score, user must select a desired number of tails (either tails = 1 for a one-tailed test, or tails = 2 for a two-tailed test). Default set to NULL, and does not report a p-value.

Value

This function returns the raw score, mean, and z-score for a given raw score.

Examples

data <- mtcars

z.calc(data,mpg,12)

Simplified Z Tests

Description

This function runs a one-sample Z-test, comparing the proportion in your sample to the proportion in the population.

Usage

z.test(df, var1, var2, prop)

Arguments

df

data frame to read in.

var1

variable with the total number of events, by sub-unit (e.g. cities within a county).

var2

variable with number of events for a specific group.

prop

proportion to compare to (between 0 and 1).

Value

This function returns the Z score and p-value for the z-test.

Examples

data <- UCR2015[UCR2015$state=="California",]
data$total_part2 <- data$burglary + data$larceny + data$mv_theft + data$arson

z.test(data,total_part2,burglary,.25)