collection: reference-data has_extended_version: true has_solutions: - global-country-region-reference-data - logistics - worldwide-postal-code-database contributors: - path: https://github.com/datasets/country-codes role: maintainer title: Evan Wheeler datapackage_version: 1.0.0-beta.13 format: csv licenses: - name: ODC-PDDL-1.0 path: https://opendatacommons.org/licenses/pddl/1.0/ title: Open Data Commons Public Domain Dedication and License v1.0. Applies only to the maintainers' own work (the scripts, and the selection and arrangement of the data). It does not cover the data taken from the sources. The UNTERM columns come from a source whose terms do not allow redistribution, and several other sources have unclear terms; see README.md and ATTRIBUTION.txt. - name: CC-BY-4.0 path: https://creativecommons.org/licenses/by/4.0/ title: Creative Commons Attribution 4.0. Applies to the columns Capital, Continent, TLD, Languages and Geoname ID, which come from GeoNames. Credit to GeoNames is required. - name: Unicode-3.0 path: https://www.unicode.org/license.txt title: Unicode License v3. Applies to the column CLDR display name, which comes from the Unicode CLDR. The copyright and permission notice must travel with the data; it is in ATTRIBUTION.txt. name: country-codes description: Comprehensive dataset of country codes combining ISO 3166 alpha-2/alpha-3/numeric, ITU dialing codes, ISO 4217 currency codes, UN M49 region codes, Geonames, CLDR display names, EDGAR codes, and Wikidata identifiers for all countries and territories. related: - formats: - CSV - JSON path: /core/country-list publisher: core title: Country list - formats: - CSV - JSON path: /core/language-codes publisher: core title: Language codes - formats: - CSV - JSON path: /core/airport-codes publisher: core title: Airport codes - formats: - CSV - JSON path: /core/continent-codes publisher: core title: Continent codes repository: type: git url: https://github.com/datasets/country-codes resources: - format: csv mediatype: text/csv name: country-codes path: data/country-codes.csv description: One row per country or territory with code columns from multiple international standards bodies including ISO 3166, ITU, ISO 4217, UN M49, Geonames, CLDR, EDGAR, and Wikidata. schema: fields: - description: "Codes assigned by the F\xE9d\xE9ration Internationale de Football\ \ Association" name: FIFA title: FIFA code type: string - description: Country code from ITU-T recommendation E.164, sometimes followed by area code name: Dial title: telephone dialing code type: string - constraints: maxLength: 3 minLength: 3 unique: true description: Alpha-3 codes from ISO 3166-1 (synonymous with World Bank Codes) name: ISO3166-1-Alpha-3 title: ISO3166-1-Alpha-3 type: string - description: MAchine-Readable Cataloging codes from the Library of Congress name: MARC title: MARC code type: string - description: Country status, based on the CIA World Factbook name: is_independent title: independent country type: string - description: Numeric codes from ISO 3166-1 name: ISO3166-1-numeric title: ISO3166-1-numeric type: string - description: Global Administrative Unit Layers from the Food and Agriculture Organization name: GAUL title: GAUL code type: string - description: Codes from the U.S. standard FIPS PUB 10-4 name: FIPS title: FIPS code type: string - constraints: maxLength: 2 description: Country abbreviations by the World Meteorological Organization name: WMO title: WMO code type: string - constraints: maxLength: 2 minLength: 2 unique: true description: Alpha-2 codes from ISO 3166-1 name: ISO3166-1-Alpha-2 title: ISO3166-1-Alpha-2 type: string - description: Codes assigned by the International Telecommunications Union name: ITU title: ITU code type: string - constraints: maxLength: 3 description: Codes assigned by the International Olympics Committee name: IOC title: IOC code type: string - description: Distinguishing signs of vehicles in international traffic name: DS title: distinguishing signs of vehicles type: string - description: Country's formal Spanish name from UN Protocol and Liaison Service name: UNTERM Spanish Formal title: UNTERM Spanish Formal type: string - description: Country classification from United Nations Statistics Division name: Global Code title: global code type: string - description: Country classification from United Nations Statistics Division name: Intermediate Region Code title: intermediate region code type: string - description: Country or Area official French short name from UN Statistics Division name: official_name_fr title: official name French type: string - description: Country's short French name from UN Protocol and Liaison Service name: UNTERM French Short title: UNTERM French Short type: string - description: ISO 4217 currency name name: ISO4217-currency_name title: ISO4217-currency_name type: string - description: Country's formal Russian name from UN Protocol and Liaison Service name: UNTERM Russian Formal title: UNTERM Russian Formal type: string - description: Country's short English name from UN Protocol and Liaison Service name: UNTERM English Short title: UNTERM English Short type: string - description: ISO 4217 currency alphabetic code name: ISO4217-currency_alphabetic_code title: ISO4217-currency_alphabetic_code type: string - description: Country classification from United Nations Statistics Division name: Small Island Developing States (SIDS) title: small island developing state (SIDS) type: string - description: Country's short Spanish name from UN Protocol and Liaison Service name: UNTERM Spanish Short title: UNTERM Spanish Short type: string - description: ISO 4217 currency numeric code name: ISO4217-currency_numeric_code title: ISO4217-currency_numeric_code type: string - description: Country's formal Chinese name from UN Protocol and Liaison Service name: UNTERM Chinese Formal title: UNTERM Chinese Formal type: string - description: Country's formal French name from UN Protocol and Liaison Service name: UNTERM French Formal title: UNTERM French Formal type: string - description: Country's short Russian name from UN Protocol and Liaison Service name: UNTERM Russian Short title: UNTERM Russian Short type: string - constraints: unique: true description: UN Statistics M49 numeric codes (nearly synonymous with ISO 3166-1 numeric codes, which are based on UN M49. ISO 3166-1 does not include Channel Islands or Sark, for example) name: M49 title: M49 type: integer - description: Country classification from United Nations Statistics Division name: Sub-region Code title: sub-region code type: string - description: Country classification from United Nations Statistics Division name: Region Code title: region code type: string - description: Country or Area official Arabic short name from UN Statistics Division name: official_name_ar title: official name Arabic type: string - description: ISO 4217 currency number of minor units name: ISO4217-currency_minor_unit title: ISO4217-currency_minor_unit type: string - description: Country's formal Arabic name from UN Protocol and Liaison Service name: UNTERM Arabic Formal title: UNTERM Arabic Formal type: string - description: Country's short Chinese name from UN Protocol and Liaison Service name: UNTERM Chinese Short title: UNTERM Chinese Short type: string - description: Country classification from United Nations Statistics Division name: Land Locked Developing Countries (LLDC) title: land locked developing country (LLDC) type: string - description: Country classification from United Nations Statistics Division name: Intermediate Region Name title: intermediate region name type: string - description: Country or Area official Spanish short name from UN Statistics Division name: official_name_es title: official name Spanish type: string - description: Country's formal English name from UN Protocol and Liaison Service name: UNTERM English Formal title: UNTERM English Formal type: string - description: Country or Area official Chinese short name from UN Statistics Division name: official_name_cn title: official name Chinese type: string - description: Country or Area official English short name from UN Statistics Division name: official_name_en title: official name English type: string - description: ISO 4217 country name name: ISO4217-currency_country_name title: ISO4217-currency_country_name type: string - description: Country classification from United Nations Statistics Division name: Least Developed Countries (LDC) title: least developed country (LDC) type: string - description: Country classification from United Nations Statistics Division name: Region Name title: region name type: string - description: Country's short Arabic name from UN Protocol and Liaison Service name: UNTERM Arabic Short title: UNTERM Arabic Short type: string - description: Country classification from United Nations Statistics Division name: Sub-region Name title: sub-region name type: string - description: Country or Area official Russian short name from UN Statistics Division name: official_name_ru title: official name Russian type: string - description: Country classification from United Nations Statistics Division name: Global Name title: global name type: string - description: Capital city from Geonames name: Capital title: capital city type: string - constraints: maxLength: 2 minLength: 2 description: Continent from Geonames name: Continent title: continent type: string - description: Top level domain from Geonames name: TLD title: TLD type: string - description: Languages from Geonames name: Languages title: languages type: string - constraints: unique: true description: Geoname ID name: Geoname ID title: Geoname ID type: integer - description: Country's customary English short name (CLDR) name: CLDR display name title: CLDR display name type: string - constraints: maxLength: 2 description: EDGAR country code from SEC name: EDGAR title: EDGAR code type: string - description: Wikidata entity URL for the country, sourced via Wikidata SPARQL query on ISO 3166-1 alpha-2 property (P297) name: wikidata_id title: Wikidata ID type: string sources: - name: United Nations Protocol and Liaison Service path: https://www.un.org/dgacm/sites/www.un.org.dgacm/files/Documents_Protocol/unterm-efsrca.xlsx title: United Nations Protocol and Liaison Service - name: Unicode Common Locale Data Repository (CLDR) Project path: https://raw.githubusercontent.com/unicode-org/cldr-json/refs/heads/main/cldr-json/cldr-localenames-full/main/en/territories.json title: Unicode Common Locale Data Repository (CLDR) Project - name: United Nations Department of Economic and Social Affairs Statistics Division path: https://unstats.un.org/unsd/methodology/m49/overview/ title: United Nations Department of Economic and Social Affairs Statistics Division - name: SIX Interbank Clearing Ltd (on behalf of ISO) path: https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml title: SIX Interbank Clearing Ltd (on behalf of ISO) - name: Statoids path: https://statoids.com/wab.html title: Statoids - name: Geonames path: https://download.geonames.org/export/dump/countryInfo.txt title: Geonames - name: US Securities and Exchange Commission path: https://www.sec.gov/submit-filings/filer-support-resources/edgar-state-country-codes title: US Securities and Exchange Commission - name: FIFA path: https://inside.fifa.com/associations title: FIFA member associations (inside.fifa.com) - name: Wikidata path: https://query.wikidata.org/sparql title: Wikidata SPARQL endpoint title: 'Comprehensive country codes: ISO 3166, ITU, ISO 4217 currency codes and many more'