Is There Any ISO 3166 Second Level Dataset And Country/county Geocoding Lib?

Hi all!

A few questions:

There is ISO 3166 standard, it’s first level ISO 3166-1 is the list of countries and 2 letters and 3 letters unique codes. There is also second level ISO 3166-2 with subregions. Is it available anywhere ? I see a lot of articles in Wikipedia with subregional codes but can’t find whole dataset Is there any country dataset with macroregions and all codes set ? For example there are UN49 macroregions, WB macro regions and others. I am looking for something with all of it togeher. Is there any Python lib or locally installable webservice to identify certain country and, ideally, subregion? For example if I provide it 2-letters or 3-letters code, or name in English, German, Spanish, Russian or other langs. With different spelling and identification if “Vietnam” and “Viet Nam” is the same country, of “Russia” and “Russian Federation” or “United Kingdom” and “Great Britain” and minimally it returns country code and ideally all metadata.

Open source MIT and open data CC0/OdBL only, please

submitted by /u/ivan-begtin
[link] [comments]

Leave a Reply

Your email address will not be published. Required fields are marked *