A publicly available dataset containing the countries and administrative divisions as defined in ISO 3166-2.
After much research into how to best structure the geospacial data for happiest I made the decision to use ISO 3166-2 as the foundation. This repo contains JSON data representing ISO 3166-2 with the countries and divisions reverse geocoded; designed primarily for import into MongoDB it will be useful to anyone with a need for geospacial data.
Searching for Greenland (GL) returns no results...
Something looks messed up around line 1704. Are those four GL- prefixed lines supposed to go with Ghana (GH)? Or is that meant for Greenland?
Is Greenland even a country? lol.
I'm using this will Google's GeoMap chart tool, so I had to add:
"GL":{"code":"GL","name":"Greenland","division":"country"},