# alex/nyt-2020-election-scraper

Repository: https://github.com/alex/nyt-2020-election-scraper
Canonical: https://ross.abutalabs.com/products/nyt-2020-election-scraper
Homepage: https://alex.github.io/nyt-2020-election-scraper/battleground-state-changes.html
Language: HTML
License: MIT
License Family: permissive
Topics: git-scraping
Last push: 2023-04-22T03:22:58+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2128, "days_push": 1229, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1756, forks 289 (observed 2026-08-28T04:05:32.245498+00:00)

## What it is
A git-scraping application that periodically scrapes the New York Times' 2020 election results JSON API and commits snapshots to the repository, enabling history and diffs of election data. It publishes battleground state changes as HTML, CSV, TXT, and XML via GitHub Pages.

## Use cases
- track historical changes in 2020 US election vote counts
- scrape a JSON API and version the results in git
- view diffs of election results over time
- download election data as CSV or XML
- monitor battleground state vote margins and remaining votes

## When to choose
- you need archived, versioned snapshots of the NYT 2020 election results
- you want a reference example of the git-scraping pattern
- you need election data in multiple export formats

## When to avoid
- you need current or live election data - scraping stopped in early 2021
- you need official or fully accurate vote counts
- you need a general-purpose scraping framework rather than a one-off scraper

## Facets
- artifact type: application
- maturity: abandoned
- function: web-scraping, data-science, analytics
- domain: -
- platform: python
- tags: git-scraping, election-data, nyt-api, github-pages, 2020-election, data-history, data-engineering, politics, automation, github-actions, web

## Member repositories
- alex/nyt-2020-election-scraper (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:32.245498+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:27:51.116173+00:00, confidence not recorded.
  - readme: https://github.com/alex/nyt-2020-election-scraper (fetched 2026-08-28T04:05:32.245498+00:00, sha bab851107f8c)
  - homepage: https://alex.github.io/nyt-2020-election-scraper/battleground-state-changes.html (fetched 2026-08-29T11:05:50.684796+00:00, sha 333f8ce55f04)
- Data as of 2026-08-30T08:39:29.467469+00:00.
