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.
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.