US Presidential Election Data by county for each state between 1960 and 2012.

elections

Format

A data frame with 43494 rows and 6 variables:

year

integer: election year

state

character: full name of the 48 states (excluding Alaska, Hawaii, and the District of Columbia)

county

character: county name

rep

integer: popular votes for the Republican candidate

dem

integer: popular votes for the Democratic candidate

other

integer: popular votes for other candidates

Details

See QSS Table 5.8.

References

Imai, Kosuke. 2017. Quantitative Social Science: An Introduction. Princeton University Press. URL.