https://github.com/pjsier/chicago-elections-archive
Explore precinct-level results from historical Chicago elections
https://github.com/pjsier/chicago-elections-archive
chicago election-mapping elections hacktoberfest solid
Last synced: 5 months ago
JSON representation
Explore precinct-level results from historical Chicago elections
- Host: GitHub
- URL: https://github.com/pjsier/chicago-elections-archive
- Owner: pjsier
- License: mit
- Created: 2021-12-18T17:48:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-04T00:41:44.000Z (about 3 years ago)
- Last Synced: 2025-04-08T11:19:20.600Z (about 1 year ago)
- Topics: chicago, election-mapping, elections, hacktoberfest, solid
- Language: JavaScript
- Homepage: https://chicagoelectionsarchive.org/
- Size: 1.54 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Chicago Elections Archive
Explore precinct-level results from recent and historical Chicago elections.

## Setup
```shell
poetry install
npm install
make all
```
## Updating Data
To update data, modify the `ELECTIONS` variable in `scripts/scrape_results_metadata.py` with the ID from the [Board of Election Commissioners website](https://chicagoelections.gov/en/election-results.html), and then regenerate `input/results-metadata.json` and `output/results-metadata.json`. Then re-run `make all`, forcing execution if necessary.
Once this is done, `make build-output` can be run to GZIP all files in a separate directory that can be deployed to cloud storage with `make deploy`.
To update the displayed elections on the site, update `ELECTION_ORDER` in `site/_data/site.js`.
## Data Notes
- Missing precincts for years:
- a few missing for 2004, 2003, 2002
- 2000 missing a good amount
- 1983 missing a few