Country Converter coco
Multi-Regional Input-Output Analysis in Python.
Details
Status | Beta |
Role | Maintainer |
---|---|
Duration | ongoing |
The country converter (coco) is a Python package to convert and match country names between different classifications and between different naming versions. Internally it uses regular expressions to match country names. Coco can also be used to build aggregation concordance matrices between different classification schemes.
The country converter (coco) automates the conversion from different standards and version of country names. Internally, coco is based on a table specifying the different ISO and UN standards per country together with the official name and a regular expression which aim to match all English versions of a specific country name. In addition, coco includes classification based on UN-, EU-, OECD-membership, UN regions specifications, continents and various MRIO and IAM databases
Classification schemes
Currently the following classification schemes are available (see also Data sources below for further information):
ISO2 (ISO 3166-1 alpha-2)
ISO3 (ISO 3166-1 alpha-3)
ISO - numeric (ISO 3166-1 numeric)
UN numeric code (M.49 - follows to a large extend ISO-numeric)
A standard or short name
The "official" name
Continent
UN region
EXIOBASE 1 classification
EXIOBASE 2 classification
EXIOBASE 3 classification
WIOD classification
OECD membership (per year)
MESSAGE 11-region classification
UN membership (per year)
EU membership (including EU12, EU15, EU25, EU27, EU27_2007, EU28)
EEA membership
Schengen region
Cecilia 2050 classification
CIS (as by 2019, excl. Turkmenistan)
G20 (listing all EU member states as individual members)
Publications
-
- The country converter coco - a Python package for converting country names between different classification schemes. 2017.
-
Stadler, K. The Journal of Open Source Software 2(16).
- DOI
- Source code