Learn R Programming

poliscidata (version 2.3.0)

gss: GSS dataset for R Companion to Essentials of Political Analysis, Second Edition

Description

The General Social Survey polls individuals about their attitudes and beliefs. This dataset is used to demonstrate application of R to political analysis. See book Appendix for variable names and descriptions.

Usage

gss

Arguments

Format

A data frame with 1974 rows and 221 variables.

abany

Abortion Permissible: Woman Wants For Any Reason

abdefect

Abortion Permissible: Strong Chance of Serious Defect

abhlth

Abortion Permissible: Woman's Health Seriously Endangered

abnomore

Abortion Permissible: Woman Married--Wants No More Children

abortion

Under How Many Conditions Abortion Permissible?

abortion_3

Under How Many Conditions Abortion Permissible? 3 Categories

abpoor

Abortion Permissible: Low Income--Can't Afford More Children

abrape

Abortion Permissible: Pregnant As Result of Rape

absingle

Abortion Permissible: Not Married

affrmact

Favor Preference in Hiring Blacks

affrmact2

Support Affirmative Action?

age

Respondent's Age

age.f

Respondent's Age (as ordered factor)

age2

Respondent's Age: 2 Categories

age_3

Age Group: 3 Categories

age_5

Age Group: 5 Categories

attend

How Often Respondent Attends Religious Services

attend2

Attendance at Religious Services: Low or High

attend3

Attendance at Religious Services: 3 Categories

attend7

Attendance at Religious Services: 7 Categories

authoritarianism

Authoritarianism Scale

bible

Feelings About the Bible

black

Is Respondent African American?

black_traits

Black Stereotypes

born

Was Respondent Born in This Country

cappun

Favor or Oppose Death Penalty For Murder

childs

Number of Children

closeblk

How Close Do You Feel to Blacks?

closeblk2

How Close to Blacks? 2 Categories

closewht

How Close Feel to Whites

closewht2

How Close Do You Feel to Whites? 2 Categories

cohort

Year of Birth

colath

College Teaching: Allow Anti-Religionist to Teach

colcom

College Teaching: Should Communist Teacher Be Fired

colhomo

College Teaching: Allow Homosexual to Teach

colmil

College Teaching: Allow Militarist to Teach

colmslm

College Teaching: Allow Anti-American Muslim Clergymen to Teach

colrac

College Teaching: Allow Racist to Teach

con_govt

Confidence in Government Institutions

conarmy

Confidence in Military

conbus

Confidence in Major Companies

conclerg

Confidence in Organized Religion

coneduc

Confidence in Education

confed

Confidence in Exec Branch of Fed Government

confinan

Confidence in Banks & Financial Institutions

conjudge

Confidence 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

courts

Courts Dealing With Criminals

dateintv

Date of Interview

degree

Respondent's Highest Degree

dem

Is Respondent a Democrat?

divlaw

Divorce Laws

divlaw2

Should divorce laws make it more difficult?

educ

Highest Year of School

educ_2

Education: 2 Categories

educ_4

Education: 4 Categories

egalit_scale

Egalitarianism Scale

egalit_scale3

Egalitarianism: 3 Categories

egalit_scale4

Egalitarianism: 4 Categories

eqwlth

Should Government Reduce Income Differences?

ethnic

Country of Family Origin

evangelical

Evangelical Scale

fechld

Female Roles: Mother Working Doesn't Hurt Children

feelevel

Amount of Fees Paid (to Respondent for Interview)

feeused

Fee Given to Get Case (for the Interview)

fefam

Female Roles: Better For Man to Work, Woman Tend Home

femrole

Female Role (Scale of Values)

femrole2

Female Role: 2 Categories

fepresch

Female Roles: Preschool Kids Suffer If Mother Works

fucitzn

Is Respondent Planning/Applying For US Citizenship?

fund

How Fundamentalist Is Respondent Currently?

fund2

Is Respondent Fundamentalist?

getahead

Opinion of How People Get Ahead

god_r

Know God Exists?

grass

Should Marijuana Be Made Legal?

grass.legal

Should Marijuana Be Made Legal? (numeric)

gunlaw

Favor or Oppose Gun Permits?

happy

General Happiness

helpblk

Should Government Aid Blacks?

helpnot

Should Government Do More or Less?

helpoth

To Help Others

helppoor

Should Government Improve Standard of Living?

helpsick

Should Government Help Pay For Medical Care?

hhtype1

Household Type (Condensed)

hispanic

Hispanic Specified

hispanic_2

Is Respondent Hispanic?

homosex

Homosexual Sex Relations

homosex2

Homosexuality Always Wrong?

id

Respondent Id Number

income06

Total Family Income

int_info_scale

Interest in Current Issues? (Additive index)

intage

Interviewer: Age of Interviewer

intecon

Interested in Economic Issues?

inteduc

Interested in Local School Issues?

intenvir

Interested in Environmental Issues?

intethn

Interviewer: Race of Interviewer

intethn_2

Interviewer: Interviewer's Race

intfarm

Interested in Farm Issues?

inthisp

Interviewer: Is Interviewer Spanish, Hispanic or Latino

intintl

Interested in International Issues?

intmed

Interested in Medical Discoveries?

intmil

Interested in Military Policy?

intrace1

Interviewer: Interviewer's Race1

intrace2

Interviewer: Interviewer's Race2

intrace3

Interviewer: Interviewer's Race3

intsci

Interested in New Scientific Discoveries?

intsex

Interviewer: Sex of Interviewer

intspace

Interested in Space Exploration?

inttech

Interested in Technologies?

intyrs

Interviewer: Years of Service as an Interviewer at NORC

kids

Does Respondent Have Kids?

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?

lngthinv

How Long Was Interview

marital

Marital Status

militarist_tol

Tolerance Toward Militarists

mobile16

Geographic Mobility Since Age 16

mode

Interview Done In-Person or Over the Phone

mslm_col

Muslims: Teach in College?

mslm_lib

Muslims: Book in Library?

mslm_spk

Muslims: Preach?

mslm_spk.yes

Muslims: Preach? (as numeric)

mslm_spk.high

Muslims: Preach? (as numeric)

nataid

Federal spending: Foreign Aid

natarms

Federal spending: Military, Armaments, and Defense

natchld

Federal spending: Assistance for Childcare

natcity

Federal spending: Solving Problems of Big Cities

natcrime

Federal spending: Halting Rising Crime Rate

natdrug

Federal spending: Dealing with Drug Addiction

nateduc

Federal spending: Improving Nations Education System

natenrgy

Federal spending: Developing Alternative Energy Sources

natenvir

Federal spending: Improving & Protecting Environment

natfare

Federal spending: Welfare

natheal

Federal spending: Improving & Protecting Nations Health

natmass

Federal spending: Mass Transportation

natpark

Federal spending: Parks and Recreation

natrace

Federal spending: Improving the Conditions of Blacks

natroad

Federal spending: Highways and Bridges

natsci

Federal spending: Supporting Scientific Research

natsoc

Federal spending: Social Security

natspac

Federal spending: Space Exploration Program

news

How Often Does Respondent Read Newspaper

obey

To Obey

obey2

Obedience Important in Children?

owngun

Have Gun in Home

partyid

Political Party Affiliation

partyid_3

Party Id: 3 Categories

polviews

Ideological Self-Placement

popular

Important for Child: To Be Well Liked or Popular

pornlaw

Feelings About Pornography Laws

pornlaw2

Pornography opinion

postlife

Belief in Life After Death

pray

How Often Does Respondent Pray

premarsx

Sex Before Marriage

pres08

Vote Obama or Mccain

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

race

Race of Respondent

race_2

Race: Black / White

racial_liberal3

Racial Liberalism

reborn_r

Born Again?

region

Region of Interview

relig

Respondent's Religious Preference

relig2

Respondent's Religious Preference, limited to Catholic and Protestant

reliten

Strength of Affiliation

reliten2

Strong Religious Affiliation

rincom06

Respondent Income

rincom06_5

Respondent Income: 5 Categories

savesoul_r

Tried to Convince Others of Jesus?

science_quiz

Number Correct on Science Quiz

science_quiz.f

Number Correct on Science Quiz, stored as factor

sex

Respondent's Sex

sibs

Number of Brothers and Sisters

size

Size of Place in 1000s

social_connect

Social Connectedness

social_cons3

Social Conservatism

social_trust

Social Trust (Numeric Scale)

south

Respondent from South?

spanking

Favor Spanking to Discipline Child?

spanking2

Approve of spanking

spend3

Econ Liberalism

spkath

Allow Speaker in Your Community: Anti-Religionist

spkcom

Allow Speaker in Your Community: Communist

spkhomo

Allow Speaker in Your Community: Homosexual

spkmil

Allow Speaker in Your Community: Militarist

spkmslm

Allow Speaker in Your Community: Muslim Clergymen Preaching Hatred

spkrac

Allow Speaker in Your Community: Allow Racist to Speak

teensex

Sex Before Marriage -- Teens 14-16

thnkself

Important for Child: To Think For One's Self

tolerance

Tolerance Scale

tolerance4

Tolerance Scale (Binned)

tvhours

Hours Per Day Watching TV

tvhours5

Hours per day

union

Does Respondent or Spouse Belong to Union

uscitzn

Is Respondent US Citizen

vetyears

Years in Armed Forces

vote08_coded

Did Respondent Vote in 2008 Election

voted08

Did Respondent Vote in 2008?

white_traits

White Stereotypes

wordsum

Number Words Correct in Vocabulary Test

workhard

To Work Hard

wrkgvt

Respondent Work for Government or Private Employee

wrkslf

Respondent Self-Emp or Works For Somebody

wrkstat

Labor Force Status

wrkwayup

Irish, Italian, Jewish and other Should Overcome Prejudice Without Favors

wtss

Weight Variable

wtssall

Weight Variable (same as wtss)

xmarsex

Sex With Person Other Than Spouse

year

GSS Year For This Respondent

zodiac

Respondent's Astrological Sign