Add address cache generated by scraper and pull event locations from this #247
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To address #246, I propose we have an "address cache" that contains the GPS lookup locations for each address. The scraper can be modified to populate this. The reason I am proposing caching address location instead of event locations is that from year to year, many events will keep the same addresses.
For events that have seriously malformed or missing addresses, the
event_fallback_locs.jsonfile can still be used.I have made modifications to the scraper to generate this file, but it still needs some work to clean things up (PR forthcoming). I figured it best to go ahead and put this up for review so the event addresses can be fixed on the map. I am open to other suggestions for how to handle this TBA API change as well.
@ErikBoesen requesting review