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

Safe HaskellSafe
LanguageHaskell98

Data.Standards.ISO.Country.Primary.Alpha3

Description

  • Description : The three-character 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 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 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.

codeStatus :: Alpha3 -> Status Source #

The stability of any particular country code.