Learn R Programming

poliscidata (version 2.3.0)

states: States dataset for R Companion to Essentials of Political Analysis, Second Edition

Description

A dataset with variables about the 50 states. This dataset is used to demonstrate application of R to political analysis. See book Appendix for variable names and descriptions.

Usage

states

Arguments

Format

A data frame with 50 rows and 135 variables.

abort_rank3

Abortion restrictions (3 category ranking)

abort_rate05

Abortions per 1,000 women (2005)

abort_rate08

Number of abortions per 1,000 women aged 15-44 (2008)

abortion_rank12

2012 Abortion rank (Americans United for Life)

abortlaw10

Number of restrictions on abortion (2010)

abortlaw3

Abortion restrictions (three tiers of number of restrictions)

adv_or_more

Percent of population with advanced degree or higher

alcohol

Alcohol consumption in gallons per capita (2007)

attend_pct

Percent frequently attend religious serviced (Pew)

ba_or_more

Percent of population with college degree or higher

battle04

Battleground state in 2004?

blkleg

Percent of state legislators who are black

blkpct04

Percent black (2004)

blkpct08

Percent black (2008)

blkpct10

Percent black (2010)

bush00

Percent voting for Bush in 2000

bush04

Percent voting for Bush in 2004

carfatal

Motor vehicle fatalities (per 100,000 pop)

carfatal07

Motor vehicle fatalities per 100,000 pop (2007)

cig_tax

Cigarette tax per pack (2007)

cig_tax_3

Cigarette tax per pack: 3 categories (2007)

cig_tax12

Cigarette tax per pack (2012)

cig_tax12_3

Cigarette tax per pack: 3 categories (2012)

cigarettes

Packs smoked bimonthly per adult (2003)

college

Percent of population with college or higher

conpct_m

Percent mass public Conservative

cons_hr06

Conservatism score, US House delegation (2006)

cons_hr09

Conservatism score, US House delegation (2009)

conserv_advantage

Conservative advantage, mass public (2012)

conserv_public

Percent mass public conservative (2013)

cook_index

Cook Index: Higher scores mean more Democratic

cook_index3

3 quantiles of cook_index

defexpen

Federal defense expenditures per capita

dem_advantage

Democratic advantage, mass public (2012)

dem_hr09

Percent US House delegation Democratic (2009)

demhr11

Percent HR delegation Democratic (2011)

demnat06

Percent US House and Senate Democratic (2006)

dempct_m

Percent mass public Democratic

demstate06

Percent of state legislators who are Democrats (2006)

demstate09

Percent of state legislators who are Democrats (2009)

demstate13

Percent state legislature Democrats (2013)

density

Population density (2010)

division

Census division (9 different regions of country)

earmarks_pcap

Earmarks per capita (in dollars)

evm

State electoral vote: McCain (2008)

evo

State electoral vote: Obama (2008)

evo2012

Obama's Electoral College vote

evr2012

Romney's Electoral College vote

gay_policy

Billman's policy scale (4 ordinal categories)

gay_policy_con

Does state have 'most conservative' gay policies?

gay_policy2

RECODE of gay_policy (Billman's policy scale)

gay_support

Lax-Phillips opinion index

gay_support3

Gay rights: public support (3 categories)

gb_win00

Did Bush win electoral vote, 2000?

gb_win04

Did Bush win electoral vote, 2004?

gore00

Percent voting for Gore 2000

govt_worker

Percentage workforce government workers (2012)

gun_check

Background checks for gun purchases per 100,000 pop (2012)

gun_dealer

Gun dealers per 100,000 pop

gun_murder10

Gun murder rate (2010)

gun_rank_rev

Recode of gun_rank11 so higher number ranks = more gun restrictions

gun_rank11

Brady gun rank (2011)

gun_rank3

Recode of gun_rank11 (3 ordinal categories)

gun_scale11

Brady gun law scale (2011)

gunlaw_rank

Brady campaign rank (2008)

gunlaw_rank3_rev

Number of restrictions (2008)

gunlaw_scale

Brady campaign score (2008)

hispanic04

Percent Hispanic (2004)

hispanic08

Percent Hispanic (2008)

hispanic10

Percent Hispanic (2010)

hr_cons_rank11

Conservativism ranking of House of Representatives delegation (2011, American Conservative Union)

hr_conserv11

Conservativism rating of House of Representatives delegation (2011, American Conservative Union)

hr_lib_rank11

Liberalism ranking of House of Representatives delegation (2011, Americans for Democratic Action)

hr_liberal11

Liberalism rating of House of Representatives delegation (2011, Americans for Democratic Action)

hs_or_more

Percent population high school education or higher

indpct_m

Percent mass public Independent

kerry04

Percent voting for Kerry 2004

libpct_m

Percent mass public Liberal

mccain08

Percent voting for McCain 2008

modpct_m

Percent mass public Moderate

nader00

Percent voting for Nader 2000

obama_win08

Did Obama win electoral vote, 2008?

obama_win12

Did Obama win the state in 2012?

obama08

Percent voting for Obama 2008

obama2012

Obama vote share in 2012

over64

Percent population over age 64

permit

Percent public that would always permit abortion (2004 NES)

pop_18_24

Percent population aged 18-24 (2004)

pop_18_24_10

Percent population aged 18-24 (2010)

pop2000

State population, 2000

pop2010

State population, 2010

pop2010_hun_thou

State population, 2010 (in 100k)

popchng0010

State population, 2000-2012

popchngpct

State population percentage, 2000-2010

pot_policy

Marijuana laws

prcapinc

Per capita income

prochoice

Percent public pro-choice

prolife

Percent public pro-life

region

Census region (4 categories)

relig_cath

Percentage Catholic (2012)

relig_high

Percentage high religiosity (2012)

relig_import

Percent religion "A great deal of guidance"

relig_low

Percentage low religiosity (2012)

relig_prot

Percentage Protestant (2012)

religiosity

Religious observance-belief scale (Pew)

religiosity3

Religiosity (3 categories)

reppct_m

Percent mass public Republican

romney2012

Romney vote share in 2012

rtw

Right to work state?

secularism

Secularism scale (Pew)

secularism3

3 quantiles of secularism

seniority_sen2

Does state have influential US Senator?

smokers12

Percentage of population who smoke

south

Southern state?

state

State name

stateid

Two letter postal abbreviation for state name

to_0004

Percentage point change in turnout from 2000 to 2004

to_0408

Percentage point change in turnout from 2004 to 2008

to_0812

Percentage point change in turnout from 2008 to 2012

trnout00

Turnout in 2000 presidential election

trnout04

Turnout in 2004 presidential election

unemploy

Unemployment rate (2004)

uninsured_pct

Percentage without health insurance (2012)

union04

Percent workers who are union members (2004)

union07

Percent workers who are union members (2007)

union10

Percent workforce unionized (2010)

urban

Percent urban population (2000)

vep00_turnout

Percent turnout of voting eligible population in 2000

vep04_turnout

Percent turnout of voting eligible population in 2004

vep08_turnout

Percent turnout of voting eligible population in 2008

vep12_turnout

Percent turnout of voting eligible population in 2012

womleg_2007

Percent of state legislators who are women (2007)

womleg_2010

Percent of state legislators who are women (2010)

womleg_2011

Percent of state legislators who are women (2011)

womleg_2015

Percent of state legislators who are women (2015)