data-standards-0.1.0.1: A collection of standards representable by simple data types.

Safe HaskellSafe
LanguageHaskell98

Data.Standards.ISO.Country.Primary

Description

  • Description : The country codes described by ISO 3166-1.
  • Copyright : (c) 2018 Samuel May
  • License : MPL-2.0
  • Maintainer : ag.eitilt@gmail.com
  • Stability : provisional
  • Portability : portable
Synopsis

Documentation

data Alpha2 Source #

The official, recommended codes for countries, translated into a type-safe representation. Unless otherwise specified, all codes are Official.

Constructors

AC

ExceptionalReservation: Ascension Island

AD

Andorra

AE

United Arab Emirates (the)

AF

Afghanistan

AG

Antigua and Barbuda

AI

Anguilla; previously French Afar and Issas

AL

Albania

AM

Armenia

AN

Deprecated: Divided into BQ, CW and SX, or use ISO 3166-3 code ANHH

TransitionalReservation: Netherlands Antilles

AO

Angola

AP

Warning: Not an official ISO 3166-1 code

NotInUse: African Regional Industrial Property Organization

AQ

Antarctica

AR

Argentina

AS

American Samoa

AT

Austria

AU

Australia

AW

Aruba

AX

Åland Islands

AZ

Azerbaijan

BA

Bosnia and Herzegovina

BB

Barbados

BD

Bangladesh

BE

Belgium

BF

Burkina Faso

BG

Bulgaria

BH

Bahrain

BI

Burundi

BJ

Benin

BL

Saint Barthélemy

BM

Bermuda

BN

Brunei Darussalam

BO

Bolivia (Plurinational State of)

BQ

Bonaire, Sint Eustatius and Saba; previously British Antarctic Territory (the)

BR

Brazil

BS

Bahamas (the)

BT

Bhutan

BU

Deprecated: Use new code MM or ISO 3166-3 code BUMM

TransitionalReservation: Burma

BV

Bouvet Island

BW

Botswana

BX

Warning: Not an official ISO 3166-1 code

NotInUse: Benelux Trademarks and Design Offices

BY

Belarus

BZ

Belize

CA

Canada

CC

Cocos (Keeling) Islands (the)

CD

Congo (the Democratic Republic of the)

CF

Central African Republic (the)

CG

Congo (the)

CH

Switzerland

CI

Côte d'Ivoire

CK

Cook Islands (the)

CL

Chile

CM

Cameroon

CN

China

CO

Colombia

CP

ExceptionalReservation: Clipperton Island

CR

Costa Rica

CS

Deprecated: Divided into ME and RS, or use ISO 3166-3 code CSXX; previous usage divided into CZ and SK, or use ISO 3166-3 code CSHH

TransitionalReservation: Serbia and Montenegro; previously Czechoslovakia

CT

Deprecated: Use new code KI or ISO 3166-3 code CTKI

Withdrawn: Canton and Enderbury Islands (the)

CU

Cuba

CV

Cabo Verde

CW

Curaçao

CX

Christmas Island

CY

Cyprus

CZ

Czechia

DD

Deprecated: Use new code DE or ISO 3166-3 code DDDE

Withdrawn: German Democratic Republic (the)

DE

Germany

DG

ExceptionalReservation: Diego Garcia

DJ

Djibouti

DK

Denmark

DM

Dominica

DO

Dominican Republic (the)

DY

Deprecated: Use official code BJ

IndeterminateReservation: Benin (road vehicles); previously Dahomey

DZ

Algeria

EA

ExceptionalReservation: Ceuta & Melilla

EC

Ecuador

EE

Estonia

EF

Warning: Not an official ISO 3166-1 code

NotInUse: European Community Patent Convention

EM

Warning: Not an official ISO 3166-1 code

NotInUse: European Trademark Office

EP

Warning: Not an official ISO 3166-1 code

NotInUse: European Patent Organization

EV

Warning: Not an official ISO 3166-1 code

NotInUse: Eurasian Patent Organization

EW

Deprecated: Use official code EE

IndeterminateReservation: Estonia (road vehicles)

EG

Egypt

EH

Western Sahara

ER

Eritrea

ES

Spain

ET

Ethiopia

EU

ExceptionalReservation: European Union (the)

EZ

ExceptionalReservation: Eurozone (the)

FI

Finland

FJ

Fiji

FK

Falkland Islands (the) [Malvinas]

FL

Deprecated: Use official code LI

IndeterminateReservation: Liechtenstein (road vehicles)

FM

Micronesia (Federated States of)

FO

Faroe Islands (the)

FQ

Deprecated: Divided into TF and part of AQ, or use ISO 3166-3 code FQHH

Withdrawn: French Southern and Antarctic Territories (the)

FR

France

FX

ExceptionalReservation: France, Metropolitan

GA

Gabon

GB

United Kingdom of Great Britain and Northern Ireland (the)

GC

Warning: Not an official ISO 3166-1 code

NotInUse: Patent Office of the Cooperation Council for the Arab States of the Gulf

GD

Grenada

GE

Georgia; previously Gilbert and Ellice Islands (the)

GF

French Guiana

GG

Guernsey

GH

Ghana

GI

Gibraltar

GL

Greenland

GM

Gambia (the)

GN

Guinea

GP

Guadeloupe

GQ

Equatorial Guinea

GR

Greece

GS

South Georgia and the South Sandwich Islands

GT

Guatemala

GU

Guam

GW

Guinea-Bissau

GY

Guyana

HK

Hong Kong

HM

Heard Island and McDonald Islands

HN

Honduras

HR

Croatia

HT

Haiti

HU

Hungary

HV

Deprecated: Use new code BF or ISO 3166-3 code HVBF

Withdrawn: Upper Volta

IB

Warning: Not an official ISO 3166-1 code

NotInUse: World Intellectual Property Organization, International Bureau

IC

ExceptionalReservation: Canary Islands (the)

ID

Indonesia

IE

Ireland

IL

Israel

IM

Isle of Man

IN

India

IO

British Indian Ocean Territory (the)

IQ

Iraq

IR

Iran (Islamic Republic of)

IS

Iceland

IT

Italy

JA

Deprecated: Use official code JM

IndeterminateReservation: Jamaica (road vehicles)

JE

Jersey

JM

Jamaica

JO

Jordan

JP

Japan

JT

Deprecated: Use new code UM or ISO 3166-3 code JTUM

Withdrawn: Johnston Island

KE

Kenya

KG

Kyrgyzstan

KH

Cambodia

KI

Kiribati

KM

Comoros (the)

KN

Saint Kitts and Nevis

KP

Korea (the Democratic People's Republic of)

KR

Korea (the Republic of)

KW

Kuwait

KY

Cayman Islands (the)

KZ

Kazakhstan

LA

Lao People's Democratic Republic (the)

LB

Lebanon

LC

Saint Lucia

LF

Deprecated: Use code for entire country LY

IndeterminateReservation: Lybia Fezzan (road vehicles)

LI

Liechtenstein

LK

Sri Lanka

LR

Liberia

LS

Lesotho

LT

Lithuania

LU

Luxembourg

LV

Latvia

LY

Libya

MA

Morocco

MC

Monaco

MD

Moldova (the Republic of)

ME

Montenegro

MF

Saint Martin (French part)

MG

Madagascar

MH

Marshall Islands (the)

MI

Deprecated: Use new code UM or ISO 3166-3 code MIUM

Withdrawn: Midway Islands (the)

MK

Macedonia (the former Yugoslav Republic of)

ML

Mali

MM

Myanmar

MN

Mongolia

MO

Macao

MP

Northern Mariana Islands (the)

MQ

Martinique

MR

Mauritania

MS

Montserrat

MT

Malta

MU

Mauritius

MV

Maldives

MW

Malawi

MX

Mexico

MY

Malaysia

MZ

Mozambique

NA

Namibia

NC

New Caledonia

NE

Niger (the)

NF

Norfolk Island

NG

Nigeria

NH

Deprecated: Use new code VU or ISO 3166-3 code NHVU

Withdrawn: New Hebrides

NI

Nicaragua

NL

Netherlands (the)

NO

Norway

NP

Nepal

NQ

Deprecated: Use new code AQ or ISO 3166-3 code NQAQ

Withdrawn: Dronning Maud Land

NR

Nauru

NT

Deprecated: Divided between IQ and SA, or use ISO 3166-3 code NTHH

TransitionalReservation: Saudi Arabian-Iraqi neutral zone (the)

NU

Niue

NZ

New Zealand

OA

Warning: Not an official ISO 3166-1 code

NotInUse: African Intellectual Property Organization

OM

Oman

PA

Panama

PC

Deprecated: Divided into FM, MH, MP and PW, or use ISO 3166-3 code PCHH

Withdrawn: Pacific Islands (Trust Territory of the)

PE

Peru

PF

French Polynesia

PG

Papua New Guinea

PH

Philippines (the)

PI

Deprecated: Use official code PH

IndeterminateReservation: Philippines (road vehicles)

PK

Pakistan

PL

Poland

PM

Saint Pierre and Miquelon

PN

Pitcairn

PR

Puerto Rico

PS

Palestine, State of

PT

Portugal

PU

Deprecated: Use new code UM or ISO 3166-3 code PUUM

Withdrawn: United States Miscellaneous Pacific Islands (the)

PW

Palau

PY

Paraguay

PZ

Deprecated: Use new code PA or ISO 3166-3 code PZPA

Withdrawn: Panama Canal Zone (the)

QA

Qatar

RA

Deprecated: Use official code AR

IndeterminateReservation: Argentina (road vehicles)

RB

Deprecated: Use official code BO or BW, respectively

IndeterminateReservation: Bolivia & Botswana (road vehicles)

RC

Deprecated: Use official code CN

IndeterminateReservation: China (road vehicles)

RE

Réunion

RH

Deprecated: Use official code HT

IndeterminateReservation: Haiti (road vehicles); previously Southern Rhodesia

RI

Deprecated: Use official code ID

IndeterminateReservation: Indonesia (road vehicles)

RM

Deprecated: Use official code MG

IndeterminateReservation: Madagascar (road vehicles)

RN

Deprecated: Use official code NE

IndeterminateReservation: Niger (road vehicles)

RO

Romania

RP

Deprecated: Use official code PH

IndeterminateReservation: Philippines (road vehicles)

RS

Serbia

RU

Russian Federation (the)

RW

Rwanda

SA

Saudi Arabia

SB

Solomon Islands

SC

Seychelles

SD

Sudan (the)

SE

Sweden

SF

Deprecated: Use official code FI

IndeterminateReservation: Finland

SG

Singapore

SH

Saint Helena, Ascension and Tristan da Cunha

SI

Slovenia

SJ

Svalbard and Jan Mayen

SK

Slovakia; previously Sikkim

SL

Sierra Leone

SM

San Marino

SN

Senegal

SO

Somalia

SR

Suriname

SS

South Sudan

ST

Sao Tome and Principe

SU

ExceptionalReservation: USSR (the)

SV

El Salvador

SX

Sint Maarten (Dutch part)

SY

Syrian Arab Republic

SZ

Eswatini

TA

ExceptionalReservation: Tristan da Cunha

TC

Turks and Caicos Islands (the)

TD

Chad

TF

French Southern Territories (the)

TG

Togo

TH

Thailand

TJ

Tajikistan

TK

Tokelau

TL

Timor-Leste

TM

Turkmenistan

TN

Tunisia

TO

Tonga

TR

Turkey

TP

Deprecated: Use new code TL or ISO 3166-3 code TPTL

TransitionalReservation: East Timor

TT

Trinidad and Tobago

TV

Tuvalu

TW

Taiwan (Province of China)

TZ

Tanzania, United Republic of

UA

Ukraine

UG

Uganda

UK

Warning: Official country code is GB

ExceptionalReservation: United Kingdom (the)

UM

United States Minor Outlying Islands (the)

UN

ExceptionalReservation: United Nations (the)

US

United States of America (the)

UY

Uruguay

UZ

Uzbekistan

VA

Holy See (the)

VC

Saint Vincent and the Grenadines

VD

Deprecated: Use new code VN or ISO 3166-3 code VDVN

Withdrawn: Viet Nam (Democratic Republic of)

VE

Venezuela (Bolivarian Republic of)

VG

Virgin Islands (British)

VI

Virgin Islands (U.S.)

VN

Viet Nam

VU

Vanuatu

WF

Wallis and Futuna

WG

Deprecated: Use official code GD

IndeterminateReservation: Grenada (road vehicles)

WK

Deprecated: Use new code UM or ISO 3166-3 code WKUM

Withdrawn: Wake Island

WL

Deprecated: Use official code LC

IndeterminateReservation: Saint Lucia (road vehicles)

WO

Warning: Not an official ISO 3166-1 code

NotInUse: World Intellectual Property Organization

WS

Samoa

WV

Deprecated: Use official code VC

IndeterminateReservation: Saint Vincent (road vehicles)

YD

Deprecated: Use new code YE or ISO 3166-3 code YDYE

Withdrawn: Yemen (Democratic)

YE

Yemen

YT

Mayotte

YU

Deprecated: Use ISO 3166-3 code YUCS

TransitionalReservation: Yugoslavia

YV

Deprecated: Use official code VE

IndeterminateReservation: Venezuela (road vehicles)

ZA

South Africa

ZM

Zambia

ZR

Deprecated: Use new code CD or ISO 3166-3 code ZRCD

TransitionalReservation: Zaire

ZW

Zimbabwe

Instances
Bounded Alpha2 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha2

Enum Alpha2 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha2

Eq Alpha2 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha2

Methods

(==) :: Alpha2 -> Alpha2 -> Bool #

(/=) :: Alpha2 -> Alpha2 -> Bool #

Ord Alpha2 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha2

Read Alpha2 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha2

Show Alpha2 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha2

Hashable Alpha2 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha2

Methods

hashWithSalt :: Int -> Alpha2 -> Int #

hash :: Alpha2 -> Int #

data Alpha3 Source #

The official codes for countries with less collisions and therefore more similar to the full name, translated into a type-safe representation. Unless otherwise specified, all codes are Official.

Constructors

ABW

Aruba

ADN

Deprecated: Use new code YEM

IndeterminateReservation: Aden (road vehicles)

AFG

Afghanistan

AFI

Deprecated: Use new code DJI or ISO 3166-3 code AIDJ

Withdrawn: French Afar and Issas

AGO

Angola

AIA

Anguilla

ALA

Åland Islands

ALB

Albania

AND

Andorra

ANT

Deprecated: Divided into BES, CUW and SXM, or use ISO 3166-3 code ANHH

TransitionalReservation: Netherlands Antilles

ARE

United Arab Emirates (the)

ARG

Argentina

ARM

Armenia

ASC

ExceptionalReservation: Ascension Island

ASM

American Samoa

ATA

Antarctica

ATB

Deprecated: Use new code ATA or ISO 3166-3 code BQAQ

Withdrawn: British Antarctic Territory (the)

ATF

French Southern Territories (the)

ATG

Antigua and Barbuda

ATN

Deprecated: Use new code ATA or ISO 3166-3 code NQAQ

Withdrawn: Dronning Maud Land

AUS

Australia

AUT

Austria

AZE

Azerbaijan

BDI

Burundi

BDS

Deprecated: Use official code BRB

IndeterminateReservation: Barbados (road vehicles)

BEL

Belgium

BEN

Benin

BES

Bonaire, Sint Eustatius and Saba

BFA

Burkina Faso

BGD

Bangladesh

BGR

Bulgaria

BHR

Bahrain

BHS

Bahamas (the)

BIH

Bosnia and Herzegovina

BLM

Saint Barthélemy

BLR

Belarus

BLZ

Belize

BMU

Bermuda

BOL

Bolivia (Plurinational State of)

BRA

Brazil

BRB

Barbados

BRN

Brunei Darussalam

BRU

Deprecated: Use official code BRN

IndeterminateReservation: Brunai (road vehicles)

BTN

Bhutan

BUR

Deprecated: Use new code MMR or ISO 3166-3 code BUMM

TransitionalReservation: Burma

BVT

Bouvet Island

BWA

Botswana

BYS

Deprecated: Use new code BLR or ISO 3166-3 code BYAA

TransitionalReservation: Byelorussian SSR

CAF

Central African Republic (the)

CAN

Canada

CCK

Cocos (Keeling) Islands (the)

CDN

Deprecated: Use official code CAN

IndeterminateReservation: Canada (road vehicles)

CHE

Switzerland

CHL

Chile

CHN

China

CIV

Côte d'Ivoire

CMR

Cameroon

COD

Congo (the Democratic Republic of the)

COG

Congo (the)

COK

Cook Islands (the)

COL

Colombia

COM

Comoros (the)

CPT

ExceptionalReservation: Clipperton Island

CPV

Cabo Verde

CRI

Costa Rica

CSK

Deprecated: Divided into CZE and SVK, or use ISO 3166-3 code CSHH

TransitionalReservation: Czechoslovakia

CTE

Deprecated: Use new code KIR or ISO 3166-3 code CTKI

Withdrawn: Canton and Enderbury Islands (the)

CUB

Cuba

CUW

Curaçao

CXR

Christmas Island

CYM

Cayman Islands (the)

CYP

Cyprus

CZE

Czechia

DDR

Deprecated: Use new code DEU or ISO 3166-3 code DDDE

Withdrawn: German Democratic Republic (the)

DEU

Germany

DGA

ExceptionalReservation: Diego Garcia

DHY

Deprecated: Use new code BEN or ISO 3166-3 code DYBJ

Withdrawn: Dahomey

DJI

Djibouti

DMA

Dominica

DNK

Denmark

DOM

Dominican Republic (the)

DZA

Algeria

EAK

Deprecated: Use official code KEN

IndeterminateReservation: Kenya (road vehicles)

EAT

Deprecated: Use code for entire country TZA

IndeterminateReservation: Tanganyika (road vehicles)

EAU

Deprecated: Use official code UGA

IndeterminateReservation: Uganda (road vehicles)

EAZ

Deprecated: Use code for entire country TZA

IndeterminateReservation: Zanzibar (road vehicles)

ECU

Ecuador

EGY

Egypt

ERI

Eritrea

ESH

Western Sahara

ESP

Spain

EST

Estonia

ETH

Ethiopia

FIN

Finland

FJI

Fiji

FLK

Falkland Islands (the) [Malvinas]

FRA

France

FRO

Faroe Islands (the)

FSM

Micronesia (Federated States of)

FXX

ExceptionalReservation: France, Metropolitan

GAB

Gabon

GBA

Deprecated: Use code for entire region GGY

IndeterminateReservation: Alderney (road vehicles)

GBD

Warning: Not an official ISO 3166-1 code

NotInUse: British Overseas Territories (passport)

GBG

Deprecated: Use official code GGY

IndeterminateReservation: Guernsey (road vehicles)

GBJ

Deprecated: Use official code JEY

IndeterminateReservation: Jersey (road vehicles)

GBM

Deprecated: Use official code IMN

IndeterminateReservation: Isle of Man (road vehicles)

GBN

Warning: Not an official ISO 3166-1 code

NotInUse: Overseas British national (passport)

GBO

Warning: Not an official ISO 3166-1 code

NotInUse: Overseas Britisn citizen (passport)

GBP

Warning: Not an official ISO 3166-1 code

NotInUse: British protected person (passport)

GBR

United Kingdom of Great Britain and Northern Ireland (the)

GBS

Warning: Not an official ISO 3166-1 code

NotInUse: British subject (passport)

GBZ

Deprecated: Use official code GIB

IndeterminateReservation: Gibraltar (road vehicles)

GCA

Deprecated: Use official code GTM

IndeterminateReservation: Guatemala (road vehicles)

GEO

Georgia

GEL

Deprecated: Divided into KIR and TUV, or use ISO 3166-3 code GEHH

Withdrawn: Gilbert and Ellice Islands (the)

GGY

Guernsey

GHA

Ghana

GIB

Gibraltar

GIN

Guinea

GLP

Guadeloupe

GMB

Gambia (the)

GNB

Guinea-Bissau

GNQ

Equatorial Guinea

GRC

Greece

GRD

Grenada

GRL

Greenland

GTM

Guatemala

GUF

French Guiana

GUM

Guam

GUY

Guyana

HKJ

Deprecated: Use official code JOR

IndeterminateReservation: Jordan (road vehicles)

HKG

Hong Kong

HMD

Heard Island and McDonald Islands

HND

Honduras

HRV

Croatia

HTI

Haiti

HUN

Hungary

HVO

Deprecated: Use new code BFA or ISO 3166-3 code HVBF

Withdrawn: Upper Volta

IDN

Indonesia

IMN

Isle of Man

IND

India

IOT

British Indian Ocean Territory (the)

IRL

Ireland

IRN

Iran (Islamic Republic of)

IRQ

Iraq

ISL

Iceland

ISR

Israel

ITA

Italy

JAM

Jamaica

JEY

Jersey

JOR

Jordan

JPN

Japan

JTN

Deprecated: Use new code UMI or ISO 3166-3 code JTUM

Withdrawn: Johnston Island

KAZ

Kazakhstan

KEN

Kenya

KGZ

Kyrgyzstan

KHM

Cambodia

KIR

Kiribati

KNA

Saint Kitts and Nevis

KOR

Korea (the Republic of)

KWT

Kuwait

LAO

Lao People's Democratic Republic (the)

LBN

Lebanon

LBR

Liberia

LBY

Libya

LCA

Saint Lucia

LIE

Liechtenstein

LKA

Sri Lanka

LSO

Lesotho

LTU

Lithuania

LUX

Luxembourg

LVA

Latvia

MAC

Macao

MAF

Saint Martin (French part)

MAL

Deprecated: Use official code MYS

IndeterminateReservation: Malaysia (road vehicles)

MAR

Morocco

MCO

Monaco

MDA

Moldova (the Republic of)

MDG

Madagascar

MDV

Maldives

MEX

Mexico

MHL

Marshall Islands (the)

MID

Deprecated: Use new code UMI or ISO 3166-3 code MIUM

Withdrawn: Midway Islands (the)

MKD

Macedonia (the former Yugoslav Republic of)

MLI

Mali

MLT

Malta

MMR

Myanmar

MNE

Montenegro

MNG

Mongolia

MNP

Northern Mariana Islands (the)

MOZ

Mozambique

MRT

Mauritania

MSR

Montserrat

MTQ

Martinique

MUS

Mauritius

MWI

Malawi

MYS

Malaysia

MYT

Mayotte

NAM

Namibia

NCL

New Caledonia

NER

Niger (the)

NFK

Norfolk Island

NGA

Nigeria

NHB

Deprecated: Use new code VUT or ISO 3166-3 code NHVU

Withdrawn: New Hebrides

NIC

Nicaragua

NIU

Niue

NLD

Netherlands (the)

NOR

Norway

NPL

Nepal

NRU

Nauru

NTZ

Deprecated: Divided between IRQ and SAU, or use ISO 3166-3 code NTHH

TransitionalReservation: Saudi Arabian-Iraqi neutral zone (the)

NZL

New Zealand

OMN

Oman

PAK

Pakistan

PAN

Panama

PCN

Pitcairn

PCI

Deprecated: Divided into FSM, MHL, MNP and PLW, or use ISO 3166-3 code PCHH

Withdrawn: Pacific Islands (Trust Territory of the)

PCZ

Deprecated: Use new code PAN or ISO 3166-3 code PZPA

Withdrawn: Panama Canal Zone (the)

PER

Peru

PHI

Deprecated: Use new code PHL

Withdrawn: Philippines

PHL

Philippines (the)

PLW

Palau

PNG

Papua New Guinea

POL

Poland

PRI

Puerto Rico

PRK

Korea (the Democratic People's Republic of)

PRT

Portugal

PRY

Paraguay

PSE

Palestine, State of

PUS

Deprecated: Use new code UMI or ISO 3166-3 code PUUM

Withdrawn: United States Miscellaneous Pacific Islands (the)

PYF

French Polynesia

QAT

Qatar

RCA

Deprecated: Use official code CAF

IndeterminateReservation: Central African Republic (road vehicles)

RCB

Deprecated: Use official code COG

IndeterminateReservation: Congo, People's Republic of (road vehicles)

RCH

Deprecated: Use official code CHL

IndeterminateReservation: Chile (road vehicles)

REU

Réunion

RHO

Deprecated: Use new code ZWE or ISO 3166-3 code RHZW

Withdrawn: Southern Rhodesia

RMM

Deprecated: Use official code MLI

IndeterminateReservation: Mali (road vehicles)

RNR

Deprecated: Use official code ZMB

IndeterminateReservation: Zambia (road vehicles)

ROK

Deprecated: Use official code KOR

IndeterminateReservation: Korea, Republic of (road vehicles)

ROM

Deprecated: Use new code ROU

TransitionalReservation: Romania

ROU

Romania

RSM

Deprecated: Use official code SMR

IndeterminateReservation: San Marino (road vehicles)

RSR

Deprecated: Use official code ZWE

IndeterminateReservation: Zimbabwe (road vehicles)

RUS

Russian Federation (the)

RWA

Rwanda

SAU

Saudi Arabia

SCG

Deprecated: Divided into MNE and SRB, or use ISO 3166-3 code CSXX

TransitionalReservation: Serbia and Montenegro

SDN

Sudan (the)

SEN

Senegal

SGP

Singapore

SGS

South Georgia and the South Sandwich Islands

SHN

Saint Helena, Ascension and Tristan da Cunha

SJM

Svalbard and Jan Mayen

SKM

Deprecated: Use new code IND or ISO 3166-3 code SKIN

Withdrawn: Sikkim

SLB

Solomon Islands

SLE

Sierra Leone

SLO

Deprecated: Use official code SVN

IndeterminateReservation: Slovenia (road vehicles)

SLV

El Salvador

SME

Deprecated: Use official code SUR

IndeterminateReservation: Suriname (road vehicles)

SMR

San Marino

SOM

Somalia

SPM

Saint Pierre and Miquelon

SRB

Serbia

SSD

South Sudan

STP

Sao Tome and Principe

SUN

ExceptionalReservation: USSR (the)

SUR

Suriname

SVK

Slovakia

SVN

Slovenia

SWE

Sweden

SWZ

Eswatini

SXM

Sint Maarten (Dutch part)

SYC

Seychelles

SYR

Syrian Arab Republic

TAA

ExceptionalReservation: Tristan da Cunha

TCA

Turks and Caicos Islands (the)

TCD

Chad

TGO

Togo

THA

Thailand

TJK

Tajikistan

TKL

Tokelau

TKM

Turkmenistan

TLS

Timor-Leste

TMN

Deprecated: Use official code TKN

IndeterminateReservation: Turkmenistan (road vehicles)

TMP

Deprecated: Use new code TLS or ISO 3166-3 code TPTL

TransitionalReservation: East Timor

TON

Tonga

TTO

Trinidad and Tobago

TUN

Tunisia

TUR

Turkey

TUV

Tuvalu

TWN

Taiwan (Province of China)

TZA

Tanzania, United Republic of

UGA

Uganda

UKR

Ukraine

UMI

United States Minor Outlying Islands (the)

UNA

Warning: Not an official ISO 3166-1 code

NotInUse: United Nations Specialized Agency (passport)

UNK

Warning: Not an official ISO 3166-1 code

NotInUse: United Nations Interim Administration in Kosovo (passport)

UNO

Warning: Not an official ISO 3166-1 code

NotInUse: United Nations (passport)

URY

Uruguay

USA

United States of America (the)

UZB

Uzbekistan

VAT

Holy See (the)

VCT

Saint Vincent and the Grenadines

VDR

Deprecated: Use new code VNM or ISO 3166-3 code VDVN

Withdrawn: Viet Nam (Democratic Republic of)

VEN

Venezuela (Bolivarian Republic of)

VGB

Virgin Islands (British)

VIR

Virgin Islands (U.S.)

VNM

Viet Nam

VUT

Vanuatu

WAG

Deprecated: Use official code GMB

IndeterminateReservation: Gambia (road vehicles)

WAK

Deprecated: Use new code UMI or ISO 3166-3 code WKUM

Withdrawn: Wake Island

WAL

Deprecated: Use official code SLE

IndeterminateReservation: Sierra Leone (road vehicles)

WAN

Deprecated: Use official code NGA

IndeterminateReservation: Nigeria (road vehicles)

WLF

Wallis and Futuna

WSM

Samoa

YEM

Yemen

YMD

Deprecated: Use new code YEM or ISO 3166-3 code YDYE

Withdrawn: Yemen (Democratic)

YUG

Deprecated: Use ISO 3166-3 code YUCS

TransitionalReservation: Yugoslavia

ZAF

South Africa

ZAR

Deprecated: Use new code COD or ISO 3166-3 code ZRCD

TransitionalReservation: Zaire

ZMB

Zambia

ZRE

Deprecated: Use official code ZAR, new code COD or ISO 3166-3 code ZRCD

IndeterminateReservation: Zaire (road vehicles)

ZWE

Zimbabwe

Instances
Bounded Alpha3 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha3

Enum Alpha3 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha3

Eq Alpha3 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha3

Methods

(==) :: Alpha3 -> Alpha3 -> Bool #

(/=) :: Alpha3 -> Alpha3 -> Bool #

Ord Alpha3 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha3

Read Alpha3 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha3

Show Alpha3 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha3

Hashable Alpha3 Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Alpha3

Methods

hashWithSalt :: Int -> Alpha3 -> Int #

hash :: Alpha3 -> Int #

data Numeric Source #

The official numeric codes for countries, preventing collisions but using an arbitrary mapping, translated into a type-safe representation. Unless otherwise specified, all codes are Official.

Constructors

C004

Afghanistan

C008

Albania

C010

Antarctica

C012

Algeria

C016

American Samoa

C020

Andorra

C024

Angola

C028

Antigua and Barbuda

C031

Azerbaijan

C032

Argentina

C036

Australia

C040

Austria

C044

Bahamas (the)

C048

Bahrain

C050

Bangladesh

C051

Armenia

C052

Barbados

C056

Belgium

C060

Bermuda

C064

Bhutan

C068

Bolivia (Plurinational State of)

C070

Bosnia and Herzegovina

C072

Botswana

C074

Bouvet Island

C076

Brazil

C080

Deprecated: Use new code C010 after merge with C216 and C260

Withdrawn: British Antarctic Territory (the)

C084

Belize

C086

British Indian Ocean Territory (the)

C090

Solomon Islands

C092

Virgin Islands (British)

C096

Brunei Darussalam

C100

Bulgaria

C104

Myanmar

C108

Burundi

C112

Belarus

C116

Cambodia

C120

Cameroon

C124

Canada

C128

Deprecated: Use new code C296

Withdrawn: Canton and Enderbury Islands (the)

C132

Cabo Verde

C136

Cayman Islands (the)

C140

Central African Republic (the)

C144

Sri Lanka

C148

Chad

C152

Chile

C156

China

C158

Taiwan (Province of China)

C162

Christmas Island

C166

Cocos (Keeling) Islands (the)

C170

Colombia

C174

Comoros (the)

C175

Mayotte

C178

Congo (the)

C180

Congo (the Democratic Republic of the)

C184

Cook Islands (the)

C188

Costa Rica

C191

Croatia

C192

Cuba

C196

Cyprus

C200

Deprecated: Divided into C203 and C703

Withdrawn: Czechoslovakia

C203

Czechia

C204

Benin

C208

Denmark

C212

Dominica

C214

Dominican Republic (the)

C216

Deprecated: Use new code C010 after merge with C080 and C260

Withdrawn: Dronning Maud Land

C218

Ecuador

C222

El Salvador

C226

Equatorial Guinea

C230

Deprecated: Divided into C231 and C232

Withdrawn: Ethiopia

C231

Ethiopia

C232

Eritrea

C233

Estonia

C234

Faroe Islands (the)

C238

Falkland Islands (the) [Malvinas]

C239

South Georgia and the South Sandwich Islands

C242

Fiji

C246

Finland

C248

Ã…land Islands

C249

Deprecated: Use new code C250

Withdrawn: France, Metropolitan

C250

France

C254

French Guiana

C258

French Polynesia

C260

French Southern Territories (the)

C262

Djibouti

C266

Gabon

C268

Georgia

C270

Gambia (the)

C275

Palestine, State of

C276

Germany

C278

Deprecated: Use new code C276 after merge with C280

Withdrawn: German Democratic Republic (the)

C280

Deprecated: Use new code C276 after merge with C278

Withdrawn: Germany (Federal Republic of)

C288

Ghana

C292

Gibraltar

C296

Kiribati

C300

Greece

C304

Greenland

C308

Grenada

C312

Guadeloupe

C316

Guam

C320

Guatemala

C324

Guinea

C328

Guyana

C332

Haiti

C334

Heard Island and McDonald Islands

C336

Holy See (the)

C340

Honduras

C344

Hong Kong

C348

Hungary

C352

Iceland

C356

India

C360

Indonesia

C364

Iran (Islamic Republic of)

C368

Iraq

C372

Ireland

C376

Israel

C380

Italy

C384

Côte d'Ivoire

C388

Jamaica

C392

Japan

C396

Deprecated: Use new code C581 after merge with C488, C849 and C872

Withdrawn: Johnston Island

C398

Kazakhstan

C400

Jordan

C404

Kenya

C408

Korea (the Democratic People's Republic of)

C410

Korea (the Republic of)

C414

Kuwait

C417

Kyrgyzstan

C418

Lao People's Democratic Republic (the)

C422

Lebanon

C426

Lesotho

C428

Latvia

C430

Liberia

C434

Libya

C438

Liechtenstein

C440

Lithuania

C442

Luxembourg

C446

Macao

C450

Madagascar

C454

Malawi

C458

Malaysia

C462

Maldives

C466

Mali

C470

Malta

C474

Martinique

C478

Mauritania

C480

Mauritius

C484

Mexico

C488

Deprecated: Use new code C581 after merge with C396, C849 and C872

Withdrawn: Midway Islands (the)

C492

Monaco

C496

Mongolia

C498

Moldova (the Republic of)

C499

Montenegro

C500

Montserrat

C504

Morocco

C508

Mozambique

C512

Oman

C516

Namibia

C520

Nauru

C524

Nepal

C528

Netherlands (the)

C530

Deprecated: Divided into C531, C535 and C534

Withdrawn: Netherlands Antilles

C531

Curaçao

C532

Deprecated: Divided into C530 and C533

Withdrawn: Netherlands Antilles

C533

Aruba

C534

Sint Maarten (Dutch part)

C535

Bonaire, Sint Eustatius and Saba

C536

Deprecated: Divided between C368 and C682

Withdrawn: Saudi Arabian-Iraqi neutral zone (the)

C540

New Caledonia

C548

Vanuatu

C554

New Zealand

C558

Nicaragua

C562

Niger (the)

C566

Nigeria

C570

Niue

C574

Norfolk Island

C578

Norway

C580

Northern Mariana Islands (the)

C581

United States Minor Outlying Islands (the)

C582

Deprecated: Divided into C580, C583, C584 and C585

Withdrawn: Pacific Islands (Trust Territory of the)

C583

Micronesia (Federated States of)

C584

Marshall Islands (the)

C585

Palau

C586

Pakistan

C590

Deprecated: Use new code C591 after merge with C594

Withdrawn: Panama

C591

Panama

C594

Deprecated: Use new code C591 after merge with C590

Withdrawn: Panama Canal Zone (the)

C598

Papua New Guinea

C600

Paraguay

C604

Peru

C608

Philippines (the)

C612

Pitcairn

C616

Poland

C620

Portugal

C624

Guinea-Bissau

C626

Timor-Leste

C630

Puerto Rico

C634

Qatar

C638

Réunion

C642

Romania

C643

Russian Federation (the)

C646

Rwanda

C652

Saint Barthélemy

C654

Saint Helena, Ascension and Tristan da Cunha

C658

Deprecated: Divided between C659 and C660

Withdrawn: Saint Kitts-Nevis-Anguilla

C659

Saint Kitts and Nevis

C660

Anguilla

C662

Saint Lucia

C663

Saint Martin (French part)

C666

Saint Pierre and Miquelon

C670

Saint Vincent and the Grenadines

C674

San Marino

C678

Sao Tome and Principe

C682

Saudi Arabia

C686

Senegal

C688

Serbia

C690

Seychelles

C694

Sierra Leone

C698

Deprecated: Use new code C356

Withdrawn: Sikkim

C702

Singapore

C703

Slovakia

C704

Viet Nam

C705

Slovenia

C706

Somalia

C710

South Africa

C714

Deprecated: Use new code C704

Withdrawn: Viet Nam (Democratic Republic of)

C716

Zimbabwe

C720

Deprecated: Use new code C887 after merge with C886

Withdrawn: Yemen (Democratic)

C724

Spain

C728

South Sudan

C729

Sudan (the)

C732

Western Sahara

C736

Deprecated: Divided between C728 and C729

Withdrawn: Sudan (the)

C740

Suriname

C744

Svalbard and Jan Mayen

C748

Eswatini

C752

Sweden

C756

Switzerland

C760

Syrian Arab Republic

C762

Tajikistan

C764

Thailand

C768

Togo

C772

Tokelau

C776

Tonga

C780

Trinidad and Tobago

C784

United Arab Emirates (the)

C788

Tunisia

C792

Turkey

C795

Turkmenistan

C796

Turks and Caicos Islands (the)

C798

Tuvalu

C800

Uganda

C804

Ukraine

C807

Macedonia (the former Yugoslav Republic of)

C810

Deprecated: Divided into C031, C051, C233, C268, C398, C417, C428, C440, C498, C643, C762, C795 and C860

Withdrawn: USSR (the)

C818

Egypt

C826

United Kingdom of Great Britain and Northern Ireland (the)

C831

Guernsey

C832

Jersey

C833

Isle of Man

C834

Tanzania, United Republic of

C840

United States of America (the)

C849

Deprecated: Use new code C581 after merge with C396, C488 and C872

Withdrawn: United States Miscellaneous Pacific Islands (the)

C850

Virgin Islands (U.S.)

C854

Burkina Faso

C858

Uruguay

C860

Uzbekistan

C862

Venezuela (Bolivarian Republic of)

C872

Deprecated: Use new code C581 after merge with C396, C488 and C849

Withdrawn: Wake Island

C876

Wallis and Futuna

C882

Samoa

C886

Deprecated: Use new code C887 after merge with C720

Withdrawn: Yemen Arab Republic

C887

Yemen

C890

Deprecated: Divided into C070, C191, C705, C807 and C891

Withdrawn: Yugoslavia (Socialist Federal Republic of)

C891

Deprecated: Divided into C499 and C688

Withdrawn: Serbia and Montenegro

C894

Zambia

Instances
Bounded Numeric Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Numeric

Enum Numeric Source #

The Int values returned or processed by this instance are the true value of the country code, rather than being incremental.

Instance details

Defined in Data.Standards.ISO.Country.Primary.Numeric

Eq Numeric Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Numeric

Methods

(==) :: Numeric -> Numeric -> Bool #

(/=) :: Numeric -> Numeric -> Bool #

Ord Numeric Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Numeric

Read Numeric Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Numeric

Show Numeric Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Numeric

Hashable Numeric Source # 
Instance details

Defined in Data.Standards.ISO.Country.Primary.Numeric

Methods

hashWithSalt :: Int -> Numeric -> Int #

hash :: Numeric -> Int #

data Status Source #

Categories within the standard describing how much warning is given if a code were to change or be replaced.

Constructors

Official

The code is active, and would only be replaced after a period as a TransitionalReservation.

ExceptionalReservation

The code is reserved and any other use is subject to approval.

TransitionalReservation

The code has been marked for deletion, but is currently still reserved as implementations remove it or migrate to the replacement.

IndeterminateReservation

Use of the code is restricted to historic vehicle registrations, but may still be reassigned at any point.

NotInUse

The code is used by another standard or high-profile organization, and will not be assigned in ISO 3166. Officially, these are listed as an IndeterminateReservation.

Withdrawn

The code was previously included in the standard, but the country it referred to has been reassigned or no longer exists, and so (unless it's Numeric) it may be reused at any point.