Skip to content
Analysis supporting the BuzzFeed News article, "How Well Does Your County Predict The Next President?" published on November 2, 2016
Jupyter Notebook
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Counties That Predict The Election

This repository contains the data and analysis for the BuzzFeed News article, "How Well Does Your County Predict The Next President?," published November 2, 2016.


The data needed for this notebook can be downloaded from the CQPress Voting and Elections Collection. Data licensing agreements prevent us from sharing this data with the repository. To run the analysis download the county-by-county voting results for every election since 1972 from CQPress and place it in the cq-data folder.

election_results.csv contains the overall percentage of the vote that the two major parties received for each presidential election since 1972.


The full analysis can be found here.

Questions / Comments?

Please contact John Templon at

Looking for more from BuzzFeed News? Click here for a list of our open-sourced projects, data, and code.

You can’t perform that action at this time.