A dataset containing the results of the presidential election and census data (e.g. racial makeup, unemployment)

Usage,
us_election_counties

Format

A data frame with 3,143 rows and 17 total columns

State

Name of the State

ST

Abbreviation of the State name

County

Name of the County

Votes

Total number of votes cast

Republicans2016

Percent of votes for the Republican Party

Democrats2016

Percent of votes for the Democratic Party

Green2016

Percent of votes for the Green Party

Libertarians2016

Percent of votes for the Libertarian Party

TotalPopulation

Total Population of the county

Unemployment

Percent of unemployment

White

Percentage of Whites

Black

Percentage of Blacks

Hispanic

Percentage of Hispanics

Asian

Percentage of Asians

Amerindian

Percentage of Amerindians

Other

Percentage of Other Races

NAME_2

The short County name, used for matching with the map

Source

https://github.com/Deleetdk/USA.county.data