This is the code and data for https://david.frigge.nz/election2020/
Comments and questions welcome, by email, GitHub issue or tweet.
The site is created in R, with help from notable packages such as:
- flexdashboard for website design
- leaflet for interactive maps
- plotly for interactive plots
- sf for GIS functionality
- and of course most of the tidyverse for data munging
Mostly this is just an adaptation of https://github.com/dakvid/election2017/ - more acknowledgements can be found there.