ntl2105 / USelectionscapstone

NYCDSA capstone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Files from this project have been borrowed from https://github.com/tonmcg/County_Level_Election_Results_12-16

County-Level Presidential General Election Results for 2012 - 2016

Presidential election results for 2012 and 2016 from The Guardian and townhall.com.

2012 election results at county-level are taken from results published in an Excel file by the Guardian.

2016 election results at the county-level are scraped from results published by Townhall.com. Their well-formatted county-level result tables for the 2016 presidential general election makes it easy for a web scraper like beautifulsoup to capture results.

Credit to the web and data teams from The Guardian and townhall.com for investing resources to make these data available.

Idea for 2012 election results from tweet to John A Guerra Gomez. Idea for 2016 election results from tweet to DJ Patil

To run

Place in your favorite iPython / Jupyter notebook environment.

If you don't have one, get Docker and use:

./run-notebook.sh

in a shell based environment. Or open up the shell command and issue the docker command in a Windows environment.

About

NYCDSA capstone


Languages

Language:Jupyter Notebook 98.3%Language:HTML 1.0%Language:PLpgSQL 0.7%Language:Shell 0.0%