ParkingReformNetwork / reform-map

A map of where parking reforms have happened.
https://parkingreform.org/mandates-map/
MIT License
6 stars 8 forks source link

Revamp data model for update-city-detail #489

Closed Eric-Arellano closed 2 months ago

Eric-Arellano commented 2 months ago

The modeling is complicated because a place may have >1 citation. The Google Table we use returns a row per citation, and those rows duplicate a lot of the core data about the city. Before, we were handling each row in the script throughout its lifetime.

Now, we better pre-process the data to have one entry per place. The data now gets put into the shape of our Handlebars template.

This change will unblock us storing the supplemental information we need to generate HTML pages into a JSON file.