Scripts I threw together to analyze SF's ranked-choice voting data files
- 2018-06-15 (full report, newly added votes)
- 2018-06-14 (full report, newly added votes)
- 2018-06-13 (full report, newly added votes)
- 2018-06-12 (full report, newly added votes)
- 2018-06-11 (full report, newly added votes)
- 2018-06-10 (full report, newly added votes)
- 2018-06-09 (full report, newly added votes)
- 2018-06-08 (full report, newly added votes)
- 2018-06-07 (full report, newly added votes)
- 2018-06-06 (full report, newly added votes)
- 2018-06-05 second report (early mail and e-day precinct votes) (full report, newly added votes)
- 2018-06-05 first report (early mail votes only) (full report)
$ npm install
$ make
This will generate a .md
file with a report, as well as a .sqlite3
file
with a database containing all ballots.
The following command line programs are assumed to be present:
- sqlite3
- jq
- make
- awk