← all projects

automation2020

Poll Tracking

https://polling.netlify.app

During the 2020 election my friend and I were rapt with the polling changes.

I developed a couple of technologies to monitor changes:

  1. A site that showed all of the individual polls to track changes within a given poll. This was displayed on a site polling.netlify.app. I had a Jupyter Notebook that would pull 538's polling data csv and parse it to create a ton of graphs that would then be pushed to the netlify/gatsby app.
  2. A script that ran in AWS Lambda that would, every ten minutes, check 538's topline polling projection and then text me and a friend every time there was a change using Twilio.

This stuff was a hell of a lot of fun. I expect once 538 launches the '22 model, I'll be setting it all up again.

$ skyblue --version
skyblue 1f55086 (compiled by cprime b148357)
$ skyblue -i src -o build
skyblue: 37 pages and 24 files -> build
# 2026-10-18, 15:27 UTC, 223 ms. Two small scripts: the candle and the light switch.