Closed rdegges closed 1 week ago
Hi,
If I change the Country name USA to united States, for example, then the geocodes scripts (node geoCodes.js), that allow to have lattitude and longitude and display events in the Map view, is no longer working for these events:
Ohhh, I see. That's a bummer. Well, I'll close this out.
Alternatively, I can just hardcode some conditionals for it.
If you have script in your side, don't hesitate to add it in script
folder.
It can help other people depending on what the script does :).
Hi there! Not sure if you want to accept this commit, but I've been doing some hacking on this project and one of the things I've been working on is parsing the event data using ISO parsers so I can better create automated systems to dispatch events based on location, etc.
One of the low-hanging fruit things I noticed was that a lot of the country names used for events aren't the ISO-standard names so ISO parsers won't detect them easily. This commit cleans up the country names so they match the ISO standard for all historical events (2017-2023).
If this works for you I'd also be happy to contribute fixes for all 2024+ events to make them match so parsing works for everything. Figured it was worth submitting this PR anyhow as an example =)