US Presidential Election results in 2012 and 2016, by county.

elections1216

Format

An sf data frame with 3108 rows, 74 variables, and a geometry column:

STATEFP

State FIPS code

COUNTYFP

County FIPS code

GEOID

Geographic area ID

ALAND

Land area

AWATER

Water area

area_name

County name

state_abbr

State abbreviation

PST045214

Population, 2014 estimate

PST040210

Population, 2010 (April 1) estimates base

PST120214

Population percentage change - April 1, 2010 to July 1, 2014

POP010210

Population, 2010

AGE135214

Percentage of persons under 5 years, 2014

AGE295214

Percentage of persons under 18 years, 2014

AGE775214

Persons 65 years and over, percentage, 2014

SEX255214

Percentage of female persons, 2014

RHI125214

Percentage of white alone, 2014

RHI225214

Percentage of black or African American alone, 2014

RHI325214

Percentage of American Indian and Alaska Native alone, 2014

RHI425214

Percentage of Asian alone percentage, 2014

RHI525214

Percentage of Native Hawaiian and Other Pacific Islander alone, 2014

RHI625214

Percentage of two or More Races, 2014

RHI725214

Percentage of Hispanic or Latino, 2014

RHI825214

Percentage of White alone, not Hispanic or Latino, 2014

POP715213

Living in same house 1 year & over, percentage, 2009-2013

POP645213

Foreign born persons, percentage, 2009-2013

POP815213

Language other than English spoken at home, pct age 5+, 2009-2013

EDU635213

High school graduate or higher, percentage of persons age 25+, 2009-2013

EDU685213

Bachelor’s degree or higher, percentage of persons age 25+, 2009-2013

VET605213

Veterans, 2009-2013

LFE305213

Mean travel time to work (minutes), workers age 16+, 2009-2013

HSG010214

Housing units, 2014

HSG445213

Homeownership rate, 2009-2013

HSG096213

Housing units in multi-unit structures, percentage, 2009-2013

HSG495213

Median value of owner-occupied housing units, 2009-2013

HSD410213

Households, 2009-2013

HSD310213

Persons per household, 2009-2013

INC910213

Per capita money income in past 12 months (2013 dollars), 2009-2013

INC110213

Median household income, 2009-2013

PVY020213

Persons below poverty level, percentage, 2009-2013

BZA010213

Private nonfarm establishments, 2013

BZA110213

Private nonfarm employment, 2013

BZA115213

Private nonfarm employment, percentage change, 2012-2013

NES010213

Nonemployer establishments, 2013

SBO001207

Total number of firms, 2007

SBO315207

Black-owned firms, percentage, 2007

SBO115207

American Indian- and Alaska Native-owned firms, percentage, 2007

SBO215207

Asian-owned firms, percentage, 2007

SBO515207

Native Hawaiian- and Other Pacific Islander-owned firms, percentage, 2007

SBO415207

Hispanic-owned firms, percentage, 2007

SBO015207

Women-owned firms, percentage, 2007

MAN450207

Manufacturers shipments, 2007 ($1,000)

WTN220207

Merchant wholesaler sales, 2007 ($1,000)

RTN130207

Retail sales, 2007 ($1,000)

RTN131207

Retail sales per capita, 2007

AFN120207

Accommodation and food services sales, 2007 ($1,000)

BPS030214

Building permits, 2014

LND110210

Land area in square miles, 2010

POP060210

Population per square mile, 2010

Demvotes16

Votes for Democratic candidate in 2016 presidential election

GOPvotes16

Votes for Republican candidate in 2016 presidential election

total_2016

Total number of votes cast in 2016 presidential election

pct_dem_16

Votes for Democratic candidate as percentage of total votes

pct_gop_16

Votes for Republican candidate as percentage of total votes

diff_2016

Difference between the number of votes for Republican and Democratic candidates

pct_pt_16

The number in diff_2016 expressed as a percentage of the total votes. Negative if fewer votes were cast for the Democratic candidate

total_2012

Total number of votes cast in 2012 presidential election

Demvotes12

Votes for Democratic candidate as percentage of total votes

GOPvotes12

Votes for Republican candidate as percentage of total votes

pct_dem_12

Votes for Democratic candidate as percentage of total votes

pct_gop_12

Votes for Republican candidate as percentage of total votes

diff_2012

Difference between the number of votes for Republican and Democratic candidates

pct_pt_12

The number in diff_2012 expressed as a percentage of the total votes. Negative if fewer votes were cast for the Democratic candidate

Source

https://github.com/tonmcg/US_County_Level_Election_Results_08-16 and https://www.kaggle.com/benhamner/2016-us-election

Details

Sf object, unprojected. EPSG 102434: WGS84.

Examples

if (requireNamespace("sf", quietly = TRUE)) { library(sf) data(elections1216) plot(elections1216["diff_2012"]) }