Skip to content

rubslopes/primary-poll-tracker

 
 

Repository files navigation

primary-poll-tracker is the Electoral Statistics tool to track national standing in the 2016 Presidential primaries. Methodology is explained here.

PollFetcher.py fetches the polls from Pollster and puts them in a MySQL database. The script first adjusts the MySQL database according to the candidate lists dem-candidates.txt and repub-candidates.txt and then fetches polling for all of those candidates

PollAggregator.py then goes through candidate-by-candidate and runs them through a Kalman filter (which resides in KalmanFilter.py), as described here and then outputs charts such as those titled Dem.png and Repub.png.

This tool is provided under the MIT License.

About

The Primary Poll Tracker used by ES.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%