![]() | This article is rated List-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||
|
I'm not sure if this is an appropriate place to ask, but I don't know where else, sorry: is there a way to get the data (two-char abbreviations + country names) downloaded in machine-readable format? It used to be possible through iso, but they have evidently disabled direct download. All the other places I can find for download are not kept up to date, e.g., "Cape Verde" vs. "Cabo Verde". Wikipedia's list itself is up to date, but is there a way besides manually munging the text on the page, to get it?
Of course this would be nice for many other lists besides iso 3166-2, but that's the one I most need, so asking here. Thanks.
Answering my own question (1 July 2018): /usr/share/zoneinfo/iso3166.tab. Furthermore, notice of updates now available at http://isotc.iso.org/livelink/livelink/Open/16944257 (noted in that file).
karl (talk) 13:27, 12 May 2016 (UTC)[reply]
I just asked the Central Intelligence Agency of the United States if it is copyright-okay for them to add ISO 3166-2 codes in the CIA World Factbook. My message sent to https://comm.cia.gov/cgi/comment_form.cgi said:
"As The World Factbook in the public domain contains ISO 3166-1 and ISO 4217 codes from the international standards copyrighted by the International Organization for Standardization, I would like to ask if it is copyright-okay for you to add ISO 3166-2 codes for administrative divisions, possibly cross-referenced with place codes from FIPS PUB 10-4. i think it is I am asking it because I wonder if code elements from ISO 3166-1, ISO 3166-2, and ISO 4217 alone can be copyrighted."
Limited staff in the CIA may delay a reply, so please do not ask the same there. I hope that a reply will arrive. Stay tuned.
... Jusjih 07:06 27 Apr 2004 (UTC)
I have the same feeling with regard to the legitimacy to post ISO 3166-2 codes in bulk. Many codes are based on National Standards, but I don't know their exact status of copyright. As I have found, http://geotags.com/iso3166/ says that it reproduces ISO 3166-2 codes with permission. I don't know how its editor got that and if we should also do the same. I hope that someone can answer well. ... Jusjih 09:12 8 Sep 2003 (UTC)
ISO 3166-2 codes have to be removed.
see: Talk:International_Organization_for_Standardization http://www.iso.ch/iso/en/xsite/copyright.html
exceptions maybe: codes that are widely used in the countries and are free of copyright. e.g. state codes in USA are free (?)... Tobias Conradi 22:02 3 Jun 2003 (UTC)
Can somebody clarify what the copyright means? Is one merely not allowed to publish copied or altered documentation of the codes, or is one not even allowed to use the codes themselves, for example, as abbreviations on your company's website's URIs? I find it hard to believe an entity can come up with a few letters and numbers and then claim copyright over it. It's as silly as giving somebody a copyright on coloursoron sentences. Are there any implications for WP's using the codes?Wikipeditor 13:09, 18 October 2006 (UTC)[reply]
Well, they may claim copyright on their *documents*, but I don't see how the codes themselves are eligible for copyright protection. My understandiing is that codes and other short phrases are generally not considered "ideas", and even if they were, they would run into the Merger Doctrine, since the codes are the only way to express the underlying ideas (i.e., the codes themselves). No?
I don't understand the "one-letter" thing. Can't do much with one letter, huh? And there are no one-letter names in this list?
jaknouse 02:55 May 6, 2003 (UTC)
Out of curiosity, why are you removing all those ISO posts? Kingturtle 06:21 May 6, 2003 (UTC)
I'm listing the stubs on VFD. It will take a few more minutes to find them all... -- Tim Starling 06:51 May 6, 2003 (UTC)
I don't know where you want to put the ISO 3166-2 codes for subnational entities without a summary table. You could create tables for those states and add the code -- that would probably be the best solution. Or you could create a set of pages listing the codes for all states—almanac-style. Use your imagination. By the way, I'm not the boss of Wikipedia. You wouldn't be breaking the rules as such by simply adding all the codes back in, the way you originally put them. An edit war would probably result, and we'd probably reach a compromise. Don't be intimidated -- you have as much right to your opinion as I do. -- Tim Starling 07:31 May 6, 2003 (UTC)
According to http://www.mindspring.com/~gwil/umx.html: ``International standard ISO 3166-2 was published on December 15, 1998. It superseded ISO/DIS 3166-2 (draft international standard). For Mexico, the draft standard showed 31 states and one federal district. The final standard shows the same divisions and the same codes, except for the federal district. The code for Distrito Federal has been changed from D.F to DIF.
I have revised this page accordingly. 192.203.205.129 06:33 May 7, 2003 (UTC)
Regarding the ISO 3166-2 codes for xyz pages, can we agree on putting references to ISO, ISO 3166-1, ISO 3166-2, and the country in the top? Then surfers can easiliy go where they want to. Like it is done on ISO 3166-2 codes for Japan page.Tobias Conradi 06:49 May 7, 2003 (UTC)
I created redirects to the countries of the form ISO 3166-1:XX to enable outsiders to link via an easy interface to country infos at wikipedia.org. Is it a good idea to do this also for subdivsions, in the form ISO 3166-2:CH-ZH (for Canton Zürich)? ISO 3166-2:CH will still provide a list of codes.
I dont know whether the redirects are a good idea, because this could end up with really a lot of them and the 3166-2 codes may change faster than 3166-1. Maybe a database supported solution would be better. Any suggestions? Maybe we should just go for it... Tobias Conradi 00:33 May 9, 2003 (UTC)
Shouldn't there a row for nations (and maybe other bodies) that have an ISO 3166-1 code, but not a known set of ISO 3166-2 codes? --Paploo (talk) 02:46, 20 November 2008 (UTC) (i.e., Saint Lucia, Vatican City, São Tomé and Príncipe, etc.) --Paploo (talk) 03:38, 20 November 2008 (UTC)[reply]
The ISO publication probably provides a definition of "country subdivision". It seems to me the definition would be along the lines of "political division of a country subordinate only to the central government". All the country subdivisions I see in the chart are subordinate only to the central government. The second-last sentence in the introduction reads: "For some countries, codes are defined for more than one level of subdivision." I question the accuracy of the statement. I think clarification is needed. - The Aviv (talk) 01:41, 8 September 2011 (UTC)[reply]
Current practice appears to be to redirect subnational codes, like ISO 3166-2:CA-NS to the national code page, e.g. ISO 3166-2:CA. As I couldn't find this explicitly stated anywhere, I thought I'd mention it here. 63.251.123.2 (talk) 19:01, 8 January 2014 (UTC)[reply]
Hello,
Based on the Wikipedia article, I built up this table with complementary data about continents. Could be merge into the article.
country | country_name | continent | continent_name |
---|---|---|---|
AD | Andorra | EU | Europe |
AE | United Arab Emirates | AS | Asie |
AF | Afghanistan | AS | Asie |
AG | Antigua and Barbuda | NA | Amérique du Nord |
AI | Anguilla | NA | Amérique du Nord |
AL | Albania | EU | Europe |
AM | Armenia | AS | Asie |
AO | Angola | AF | Afrique |
AQ | Antarctica | AS | Asie |
AR | Argentina | SA | Amérique du Sud |
AS | American Samoa | SA | Amérique du Sud |
AT | Austria | OC | Océanie |
AU | Australia | EU | Europe |
AW | Aruba | OC | Océanie |
AX | Åland Islands | NA | Amérique du Nord |
AZ | Azerbaijan | EU | Europe |
BA | Bosnia and Herzegovina | AS | Asie |
BB | Barbados | EU | Europe |
BD | Bangladesh | NA | Amérique du Nord |
BE | Belgium | AS | Asie |
BF | Burkina Faso | EU | Europe |
BG | Bulgaria | AF | Afrique |
BH | Bahrain | EU | Europe |
BI | Burundi | AS | Asie |
BJ | Benin | AF | Afrique |
BL | Saint Barthélemy | AF | Afrique |
BM | Bermuda | NA | Amérique du Nord |
BN | Brunei Darussalam | NA | Amérique du Nord |
BO | Bolivia, Plurinational State of | AS | Asie |
BQ | Bonaire, Sint Eustatius and Saba | SA | Amérique du Sud |
BR | Brazil | SA | Amérique du Sud |
BS | Bahamas | NA | Amérique du Nord |
BT | Bhutan | AS | Asie |
BV | Bouvet Island | AN | Antartique |
BW | Botswana | AF | Afrique |
BY | Belarus | EU | Europe |
BZ | Belize | NA | Amérique du Nord |
CA | Canada | NA | Amérique du Nord |
CC | Cocos (Keeling) Islands | AS | Asie |
CD | Congo, the Democratic Republic of the | AF | Afrique |
CF | Central African Republic | AF | Afrique |
CG | Congo | AF | Afrique |
CH | Switzerland | EU | Europe |
CI | Côte d'Ivoire | AF | Afrique |
CK | Cook Islands | OC | Océanie |
CL | Chile | SA | Amérique du Sud |
CM | Cameroon | AF | Afrique |
CN | China | AS | Asie |
CO | Colombia | SA | Amérique du Sud |
CR | Costa Rica | NA | Amérique du Nord |
CU | Cuba | NA | Amérique du Nord |
CV | Cabo Verde | AF | Afrique |
CW | Curaçao | SA | Amérique du Sud |
CX | Christmas Island | AS | Asie |
CY | Cyprus | AS | Asie |
CZ | Czechia | EU | Europe |
DE | Germany | EU | Europe |
DJ | Djibouti | AF | Afrique |
DK | Denmark | EU | Europe |
DM | Dominica | NA | Amérique du Nord |
DO | Dominican Republic | NA | Amérique du Nord |
DZ | Algeria | AF | Afrique |
EC | Ecuador | SA | Amérique du Sud |
EE | Estonia | EU | Europe |
EG | Egypt | AF | Afrique |
EH | Western Sahara | AF | Afrique |
ER | Eritrea | AF | Afrique |
ES | Spain | EU | Europe |
ET | Ethiopia | AF | Afrique |
FI | Finland | EU | Europe |
FJ | Fiji | OC | Océanie |
FK | Falkland Islands (Malvinas) | SA | Amérique du Sud |
FM | Micronesia, Federated States of | OC | Océanie |
FO | Faroe Islands | EU | Europe |
FR | France | EU | Europe |
GA | Gabon | AF | Afrique |
GB | United Kingdom | EU | Europe |
GD | Grenada | NA | Amérique du Nord |
GE | Georgia | AS | Asie |
GF | French Guiana | SA | Amérique du Sud |
GG | Guernsey | EU | Europe |
GH | Ghana | AF | Afrique |
GI | Gibraltar | EU | Europe |
GL | Greenland | NA | Amérique du Nord |
GM | Gambia | AF | Afrique |
GN | Guinea | AF | Afrique |
GP | Guadeloupe | NA | Amérique du Nord |
GQ | Equatorial Guinea | AF | Afrique |
GR | Greece | EU | Europe |
GS | South Georgia and the South Sandwich Islands | SA | Amérique du Sud |
GT | Guatemala | NA | Amérique du Nord |
GU | Guam | OC | Océanie |
GW | Guinea-Bissau | AF | Afrique |
GY | Guyana | SA | Amérique du Sud |
HK | Hong Kong | AS | Asie |
HM | Heard Island and McDonald Islands | AN | Antartique |
HN | Honduras | NA | Amérique du Nord |
HR | Croatia | EU | Europe |
HT | Haiti | NA | Amérique du Nord |
HU | Hungary | EU | Europe |
ID | Indonesia | AS | Asie |
IE | Ireland | EU | Europe |
IL | Israel | AS | Asie |
IM | Isle of Man | EU | Europe |
IN | India | AS | Asie |
IO | British Indian Ocean Territory | AS | Asie |
IQ | Iraq | AS | Asie |
IR | Iran, Islamic Republic of | AS | Asie |
IS | Iceland | EU | Europe |
IT | Italy | EU | Europe |
JE | Jersey | EU | Europe |
JM | Jamaica | NA | Amérique du Nord |
JO | Jordan | AS | Asie |
JP | Japan | AS | Asie |
KE | Kenya | AF | Afrique |
KG | Kyrgyzstan | AS | Asie |
KH | Cambodia | AS | Asie |
KI | Kiribati | OC | Océanie |
KM | Comoros | AF | Afrique |
KN | Saint Kitts and Nevis | NA | Amérique du Nord |
KP | Korea (the Democratic People's Republic of) | AS | Asie |
KR | Korea (the Republic of) | AS | Asie |
KW | Kuwait | AS | Asie |
KY | Cayman Islands | NA | Amérique du Nord |
KZ | Kazakhstan | AS | Asie |
LA | Lao People's Democratic Republic | AS | Asie |
LB | Lebanon | AS | Asie |
LC | Saint Lucia | NA | Amérique du Nord |
LI | Liechtenstein | EU | Europe |
LK | Sri Lanka | AS | Asie |
LR | Liberia | AF | Afrique |
LS | Lesotho | AF | Afrique |
LT | Lithuania | EU | Europe |
LU | Luxembourg | EU | Europe |
LV | Latvia | EU | Europe |
LY | Libya | AF | Afrique |
MA | Morocco | AF | Afrique |
MC | Monaco | EU | Europe |
MD | Moldova, Republic of | EU | Europe |
ME | Montenegro | EU | Europe |
MF | Saint Martin (French part) | NA | Amérique du Nord |
MG | Madagascar | AF | Afrique |
MH | Marshall Islands | OC | Océanie |
MK | Macedonia, the former Yugoslav Republic of | EU | Europe |
ML | Mali | AF | Afrique |
MM | Myanmar | AS | Asie |
MN | Mongolia | AS | Asie |
MO | Macao | AS | Asie |
MP | Northern Mariana Islands | OC | Océanie |
MQ | Martinique | NA | Amérique du Nord |
MR | Mauritania | AF | Afrique |
MS | Montserrat | NA | Amérique du Nord |
MT | Malta | EU | Europe |
MU | Mauritius | AF | Afrique |
MV | Maldives | AS | Asie |
MW | Malawi | AF | Afrique |
MX | Mexico | NA | Amérique du Nord |
MY | Malaysia | AS | Asie |
MZ | Mozambique | AF | Afrique |
NA | Namibia | AF | Afrique |
NC | New Caledonia | OC | Océanie |
NE | Niger | AF | Afrique |
NF | Norfolk Island | OC | Océanie |
NG | Nigeria | AF | Afrique |
NI | Nicaragua | NA | Amérique du Nord |
NL | Netherlands | EU | Europe |
NO | Norway | EU | Europe |
NP | Nepal | AS | Asie |
NR | Nauru | OC | Océanie |
NU | Niue | OC | Océanie |
NZ | New Zealand | OC | Océanie |
OM | Oman | AS | Asie |
PA | Panama | NA | Amérique du Nord |
PE | Peru | SA | Amérique du Sud |
PF | French Polynesia | OC | Océanie |
PG | Papua New Guinea | OC | Océanie |
PH | Philippines | AS | Asie |
PK | Pakistan | AS | Asie |
PL | Poland | EU | Europe |
PM | Saint Pierre and Miquelon | NA | Amérique du Nord |
PN | Pitcairn | OC | Océanie |
PR | Puerto Rico | NA | Amérique du Nord |
PS | Palestine, State of | AS | Asie |
PT | Portugal | EU | Europe |
PW | Palau | OC | Océanie |
PY | Paraguay | SA | Amérique du Sud |
QA | Qatar | AS | Asie |
RE | Réunion | AF | Afrique |
RO | Romania | EU | Europe |
RS | Serbia | EU | Europe |
RU | Russian Federation | EU | Europe |
RW | Rwanda | AF | Afrique |
SA | Saudi Arabia | AS | Asie |
SB | Solomon Islands | OC | Océanie |
SC | Seychelles | AF | Afrique |
SD | Sudan | AF | Afrique |
SE | Sweden | EU | Europe |
SG | Singapore | AS | Asie |
SH | Saint Helena, Ascension and Tristan da Cunha | AF | Afrique |
SI | Slovenia | EU | Europe |
SJ | Svalbard and Jan Mayen | EU | Europe |
SK | Slovakia | EU | Europe |
SL | Sierra Leone | AF | Afrique |
SM | San Marino | EU | Europe |
SN | Senegal | AF | Afrique |
SO | Somalia | AF | Afrique |
SR | Suriname | SA | Amérique du Sud |
SS | South Sudan | AF | Afrique |
ST | Sao Tome and Principe | AF | Afrique |
SV | El Salvador | NA | Amérique du Nord |
SX | Sint Maarten (Dutch part) | AS | Asie |
SY | Syrian Arab Republic | AF | Afrique |
SZ | Swaziland | NA | Amérique du Nord |
TC | Turks and Caicos Islands | Amérique du Nord | |
TD | Chad | AF | Afrique |
TF | French Southern Territories | AN | Antartique |
TG | Togo | AF | Afrique |
TH | Thailand | AS | Asie |
TJ | Tajikistan | AS | Asie |
TK | Tokelau | OC | Océanie |
TL | Timor-Leste | AS | Asie |
TM | Turkmenistan | AS | Asie |
TN | Tunisia | AF | Afrique |
TO | Tonga | OC | Océanie |
TR | Turkey | EU | Europe |
TT | Trinidad and Tobago | NA | Amérique du Nord |
TV | Tuvalu | OC | Océanie |
TW | Taiwan | AS | Asie |
TZ | Tanzania, United Republic of | AF | Afrique |
UA | Ukraine | EU | Europe |
UG | Uganda | AF | Afrique |
UM | United States Minor Outlying Islands | OC | Océanie |
US | United States | NA | Amérique du Nord |
UY | Uruguay | SA | Amérique du Sud |
UZ | Uzbekistan | AS | Asie |
VA | Holy See (Vatican City State) | EU | Europe |
VC | Saint Vincent and the Grenadines | NA | Amérique du Nord |
VE | Venezuela, Bolivarian Republic of | SA | Amérique du Sud |
VG | Virgin Islands, British | NA | Amérique du Nord |
VI | Virgin Islands, U.S. | NA | Amérique du Nord |
VN | Viet Nam | AS | Asie |
VU | Vanuatu | OC | Océanie |
WF | Wallis and Futuna | OC | Océanie |
WS | Samoa | OC | Océanie |
YE | Yemen | AS | Asie |
YT | Mayotte | AF | Afrique |
ZA | South Africa | AF | Afrique |
ZM | Zambia | AF | Afrique |
ZW | Zimbabwe | AF | Afrique |
Yug (talk) 14:11, 12 April 2018 (UTC)[reply]
Am I missing something? I don't understand how all of the subarticles say anything substantive whatsoever. The sole bit of content they contain are tables of subdivisions by country. That's fine, but there can just be a single list article for that: List of ISO 3166-2 subdivisions by country or the like. Maybe two articles if the list is truly unwieldly, an A-M and an N-Z. Is there a positive case to be made for what these subarticles are doing? SnowFire (talk) 01:52, 9 July 2021 (UTC)[reply]
(un-indent) Well, I think I did offer a specific option - cut the content other than the tables and merge. I'll take a closer look at the subarticles but I'm not sure it's accurate that there's really a separate editor base for each one - I get the impression that there's been exceptionally few substantive edits to each subarticle, with most of the rare edits being Wikipedia-wide gnome-y campaigns, things like updating categories. SnowFire (talk) 06:35, 12 July 2021 (UTC)[reply]
Is EH code referring to currently existing entity? Or only to defunct country? I encountered claim that it refers to "former state of Western Sahara, not the territory held by the Polisario Front" Mateusz Konieczny (talk) 19:30, 27 September 2021 (UTC)[reply]