NYT Vote Scraper is a small but clever project that periodically fetches JSON data from the “Votes Remaining” page of The New York Times during the 2020 U.S. presidential election and commits the results into the repository, effectively using Git as a time-series database. The idea is to create a historical record — including diffs — of how vote counts and “votes remaining” estimates changed over time. The repo outputs multiple formats (HTML, CSV, XML, plain text) so that you or other scripts can easily analyze or visualize how states swung, how margins evolved, and the pace of vote counting. As a result, this scraper provides transparency and traceability: one can examine the “evolution of results” instead of just a snapshot. The project is inspired by the concept of “git-scraping” popularized by Simon Willison — leveraging version control to store changing datasets.

Features

  • Periodically scrapes the NYT “Votes Remaining” JSON page during the 2020 election
  • Commits results into Git repository over time to track historical evolution and changes (diffs)
  • Outputs scraped data in multiple formats: JSON, HTML, CSV, XML, plain text — for easy consumption by tools or humans
  • Provides a clear, versioned timeline of state-by-state vote counts and “votes remaining” estimates
  • Demonstrates “git-scraping” pattern: using Git as a lightweight time-series storage or archival tool for dynamic data
  • Licensed under MIT license, easy to fork or adapt for other data-scraping / archival needs

Project Samples

Project Activity

See All Activity >

Categories

Education

License

MIT License

Follow NYT Vote Scraper

NYT Vote Scraper Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of NYT Vote Scraper!

Additional Project Details

Registered

4 days ago