Election Night Reporting Using R & Quarto
summary
Built a full election night pipeline using R and Quarto that pulls from the official vendor database, prebuilds and stores over 400 maps and tables, and deploys a responsive site via Netlify. Uses dbplyr for SQL, targets pipeline with dynamic branching to update only changed precincts, saves artifacts to S3, and renders reactable tables and leaflet maps. Update cadence drops from minutes to ~90 seconds, an election with nearly one million ballots runs without crashing, and a dynamic “close races” page uses an 8% threshold.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:02Why R and Quarto
- 3:59Real-time data visualization
- 9:12Building the pipeline
- 13:17Replicating workflow
- 16:30Optimizing pipeline
- 20:46Success and demo
related talks
10mVisualizing voting results
01h 42mRecreating, Understanding, and Visualizing FiveThirtyEight's...
28mDelicious Democracy: snagging and mapping citizen data
15m"Red State, Blue State: Election
20mJournalism with RStudio, R, and the tidyverse
38mThere Are No Shortcuts in Organizing, but Technology Sure Does Help
21mTracking COVID 19 with Ruby
01h 21mInteractive Data Visualization Tools in R
