states | R Documentation |
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.
states
A data frame with 50 rows and 149 variables.
Number of abortions per 1000 women 15-44, 2008
Number of restrictions on abortion
Restrictiveness of state abortion laws, 3 ordinal categories
Percentage of 25+ population with graduate or professional degree
Alcohol consumption (gal/capita) 2007
Percentage freq attend relig serv (Pew)
Percentage of 25+ population with bachelor's degree or more
Battleground in 2020 election?
Two-party vote share for Biden in 2020 election
Electoral College votes for Biden in 2020 election
State business tax climate ranking
State business tax climate rating
Percentage of population black or African American
Percent of state legislators who are African American
Brady Campaign ranking
Brady Campaign score
Percentage of households with broadband Internet subscription
Motor vehicle fatalities (per 100,000 pop)
Motor vehicle fatalities per 100,000 pop (2007)
Cigarette tax per pack
Cigarette tax per pack, 3 ordinal categories
Packs bimonthly per adult pop
Citizen ideology index
Vote share for Clinton in 2016 election
Percentage of state's 2020 congressional delegation that is Democratic
Higher scores more Dem
3 quantiles of cook_index
Population incarcerated per 100,000 state residents
Population under correctional supervision per 100,000 state residents
COVID cases (as of June 2021)
COVID cases per 1,000 persons (as of June 2021)
COVID deaths (as of June 2021)
COVID deaths per 1,000 persons (as of June 2021)
Maximum of COVID response stringency index
Mean of COVID response stringency index
Percentage of population fully vaccinated against COVID (as of June 2021)
Burglary rate, per 100,000 population
Murder and non-negligent manslaughter rate, per 100,000 population
Property crime rates, per 100,000 population
Violent crime rate, per 100,000 population
Executions since 1976
Death penalty exonerations since 1973
Does state retain death penalty?
Federal defense expenditures per capita
Percent of state legislators who are Democrats
Population per square mile
Census division
Drug overdose death rate per 100,000 adults
Earmarks per capita (in dollars)
Percentage of population born outside the United States
Billman's policy scale
RECODE of gay_policy (Billman's policy scale)
Does state have 'most conservative' gay policies?
Lax-Phillips opinion index
Gay rights: public support
Letter grade of state's gun control laws, from Giffords Law Center
Ranking of state's gun control laws, from Giffords Law Center
GINI index score
Income equality ranking
Precentage workforce government workers (2012)
Background checks per 100,000 pop (2012)
Gun dealers per 100,000 pop
Gun deaths per 100k
Gun murder rate (2010)
Number of state gun control laws
Number of state gun control laws, 3 ordinal categories
Ranking of best states for gun owners
Median household income (dollars)
Percentage of poulation Hispanic or Latino (of any race)
Percent of state legislators who are Hispanic/Latino
Mean NOMINATE score of state's House delegation
Percentage of 25+ population attained at least high school diploma or equivalent
Years of social studies required to graduate high school
Number of infant deaths per 1,000 live births
Method used to select appellate court judges
Does state elect appellate court judges?
Size of state in square miles
State legal climate rating 2015
State legal climate ranking 2015
Rating of conservatism of state legislature
State legislative professionalism rank for 2015
State legislative professionalism score for 2015
Ordinal ranking of state policies for LQBTQ equality
Number of laws passed that advance LQBTQ equality
Median age (years)
State action on Medicaid expansion pursuant to ACA
State minimum wage
Percentage of adults with a body mass index of 30.0 or higher
Retail opioid prescriptions dispensed per 100 persons
Percentage of population 65 years and over
Polarization in State Legislatures, Lower chambers
Polarization in State Legislatures, Upper chambers
Policy adoption rate score
State population, 2016 (in 100k)
Percentage of population 18 to 24 years old
State population in 2020
Percentage increase/decrease in population from 2010 to 2020
State marijuana laws in 2017
Percentage of people in poverty
Per capita income
Number of pregnancies per 1,000 women aged 15-19
Unintended pregnancy rate per 1,000 women 15-44
Percentage of adults who say abortion should be legal in all/most cases
Percentage adults self-identifying as conservative
Percentage adults self-identifying as liberal
Percentage adults self-identifying as moderate
Census region
Percentage Catholic (2012)
Percentage Protestant (2012)
Percentage high religiosity (2012)
Percent religion "A great deal of guidance"
Overall index of religiosity
Percentage low religiosity (2012)
Relig observance-belief scale (Pew)
Religiosity
Right to work state?
Average salary of public school teachers
Expenditure per student in average daily attendance
Students enrolled per teacher
Secularism scale (Pew)
3 quantiles of secularism
Data_Value
Southern state?
Percentage of population that only speaks English
State Name
Overall quality of state government administrative functions
Two-letter abbreviation of state name
Number of deaths due to intentional self-harm per 100,000 population
State's primary revenue source
Does state have term limits for legislators?
Vote share for Trump in 2016 election
Electoral College votes for Trump in 2016 election
Two-party vote share for Trump in 2020 election
Electoral college votes for Trump in 2020 election
Difference in voter turnout in 2020 compared to 2016
Percentage of population under age 18
State unemployment rate
No health insurance coverage
Percent of workers who are union members
Ordinal-level measurement of state's percentage union membership
Percent urban population
Percent turnout of voting eligible population in 2016
Percent turnout of voting eligible population in 2018
Percent turnout of voting eligible population in 2020
Volunteer hours per resident
Volunteer rate
Voter identification law in effect in 2017
Percentage of population white
Percent of state legislators who are women
Data sources vary. See Appendix of printed textbook for further information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.