deactivated / python-iso3166

Standalone ISO 3166-1 country definitions
MIT License
142 stars 39 forks source link

Common Names #21

Open jae-lee opened 4 years ago

jae-lee commented 4 years ago

Slightly related to this: https://github.com/deactivated/python-iso3166/issues/17

It would be great to see some sort of common name for the countries as well, e.g., "South Korea" for "Korea, Republic of".

deactivated commented 4 years ago

I'm open to this sort of thing, however I don't think these names should be chosen ad hoc. Do you know of a recognized standard that defines common names?

SidraEffendi commented 1 year ago

I noticed 'UK' and 'United Kingdom' give KeyError because the ISO country code is 'GB'a and the name itself is 'United Kingdom of Great Britain and Northern Ireland' but I am using this library to cross-reference locations mentioned in United Nations documents and the UK is listed there along with the US. It might be helpful to add 'UK' or 'United Kingdom' or both.