ParkingReformNetwork / reform-map

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

Incorporate country into place ID #484

Open Eric-Arellano opened 2 months ago

Eric-Arellano commented 2 months ago

Right now, Place IDs follow this scheme:

Note that neither scheme includes the country code. There are two issues with this:

The Place ID is relevant in these places:

When fixing this, we should decide if the Place ID should use abbrevations for the state & and country.

--

We should also revisit how to store states. Right now, we store it as California, CA, which is a little redundant but it is also useful in table view to let you include CA in all the CA values. Should we store the place ID as California, including the URL? If we do that, we need a new attribute like isState. (We already implicitly have isCountry by not setting state at all.)