This release snapshots OpenANC as it was on Election Day, November 8, 2022.
Changes since the last release 2 years ago:
- Support for multiple versions of the ANC map due to redistricting, including a new URL structure
- Functions for generating different types of relative links within the site
- A testing process that checks each internal link and confirms that the link works, as well as a check for orphaned HTML pages within the site
- Links from old districts to new districts and vis-versa, showing overlaps between different versions of each district
- Improved address search behavior. Now, when a user searches for an address on a map, the pin and the display box updates with the district info at the address. Closes #3
- Person pages: surfacing the information on the
person
data object on a new standalone page for each person, linking to the districts they ran in or represented, as well as a new "person list" showing every person in the OpenANC database - Refactored ingestion of the BOE candidate list, making a suggested match to the existing people in the database, then create lists that can be easily copied into the source Google Sheet
- New process for ingesting write-in candidate lists from DCBOE and processing them alongside the candidates who appeared on the ballot
- Improve site performance by no longer putting the SMD shapefile into each district page, only using a 4-point bounding box to zoom the SMD map, making each HTML file much smaller
- Code streamlining such that each full site refresh takes about 3 minutes on a laptop
- A
_name
column for each data object (SMD, ANC, Ward) that is separate from its_id
- The label points file that is sent to Mapbox is now a GeoJSON instead of a CSV, ending intermittent map display problems due to CSV parsing
- Script written for downloading the current list of commissioners from the Office of ANCs, in anticipation of future work revamping the
commissioner
object - New page that lists the incumbent commissioners broken out by who is running and who has dropped out
- Gather functions relating to data into one script:
data_transformations.py
- Utilize Google Cloud Compute Engine to check DCBOE for changes to the PDF that lists candidates, sending alerts to a new Twitter bot, OpenANCbot https://twitter.com/OpenANCbot