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

Usage,
us_election_states

Format

A data frame with 51 rows and 15 total columns

State

Name of the State

ST

Abbreviation of the State name

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

Source

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

Note: The data was aggregated from the county level