stefangabos / world_countries

Constantly updated lists of world countries and their associated alpha-2, alpha-3 and numeric country codes as defined by the ISO 3166 standard, available in CSV, JSON , PHP, SQL and XML formats, in multiple languages and with national flags included; also available are the ISO 3166-2 codes of provinces/ states associated with the countries
http://stefangabos.github.io/world_countries/
Other
1.35k stars 375 forks source link

The country Jersey is not in the database. #23

Closed nguaman closed 4 years ago

nguaman commented 4 years ago

https://en.wikipedia.org/wiki/Jersey

{ "id" : NumberInt(895), "name" : "Jersey", "alpha2" : "je", "alpha3" : "jey" }

stefangabos commented 4 years ago

Apparently Jersey is not considered as a country but a self-governing Crown dependency of the United Kingdom. See https://en.wikipedia.org/wiki/List_of_sovereign_states#United_Kingdom

You can find Jersey in the "world" file where all the countries, territories, and areas of geographical interest that have an officially assigned ISO 3166-1 code can be found, not just those that are officially called "countries"