Obama vs. McCain
State-by-state voting information in the 2008 US presidential election, along with contextual information on income, unemployment, ethnicity and religion.
Religious identification data are not available for Alaska and Hawaii. The totals of these columns is generally less than 100, since some people didn't give an answer. The District of Columbia is included, even though it isn't a state. The dataset is not guaranteed to be error free. Please double check the data if you want to use it for something serious.
A data frame with 52 observations (one for each US state) and the following columns.
The name of the US state.
The US Federal region.
Percentage of voters who voted for Barack Obama in the 2008 presidential election.
Percentage of voters who voted for John McCain in the 2008 presidential election.
Percentage of people who voted in the 2008 presidential election.
Percentage of people who are unemployed.
Mean annual income in US dollars.
Number of people living in the state.
Percentage of people identifying as Catholic.
Percentage of people identifying as Protestant.
Percentage of people identifying as religious, but not Catholic or Protestant.
Percentage of people identifying as non-religious.
Percentage of people identifying as black.
Percentage of people identifying as Latino.
Percentage of people living in an urban area.
This dataset was kindly compiled and provided by Edwin Thoen firstname.lastname@example.org.
The voting information came from http://www.uselectionatlas.org/, extracted on 2011-12-09.
The ethnicity, income and urbanisation information came from http://quickfacts.census.gov, extracted on 2011-12-09.
The unemployment information came from http://data.bls.gov/timeseries/LNS14000000, extracted 2011-12-09.
The religious information came from Table 12 of the American Religious Identification Survey 2008. http://commons.trincoll.edu/aris/files/2011/08/ARIS_Report_2008.pdf.