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.

https://badge.fury.io/py/country-converter.svg https://anaconda.org/conda-forge/country_converter/badges/version.svg http://joss.theoj.org/papers/af694f2e5994b8aacbad119c4005e113/status.svg https://zenodo.org/badge/DOI/10.5281/zenodo.838035.svg https://img.shields.io/badge/License-GPL%20v3-blue.svg https://travis-ci.org/konstantinstadler/country_converter.svg?branch=master https://coveralls.io/repos/github/konstantinstadler/country_converter/badge.svg?branch=master https://img.shields.io/badge/code%20style-black-000000.svg

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):

  1. ISO2 (ISO 3166-1 alpha-2)

  2. ISO3 (ISO 3166-1 alpha-3)

  3. ISO - numeric (ISO 3166-1 numeric)

  4. UN numeric code (M.49 - follows to a large extend ISO-numeric)

  5. A standard or short name

  6. The "official" name

  7. Continent

  8. UN region

  9. EXIOBASE 1 classification

  10. EXIOBASE 2 classification

  11. EXIOBASE 3 classification

  12. WIOD classification

  13. Eora

  14. OECD membership (per year)

  15. MESSAGE 11-region classification

  16. IMAGE

  17. REMIND

  18. UN membership (per year)

  19. EU membership (including EU12, EU15, EU25, EU27, EU27_2007, EU28)

  20. EEA membership

  21. Schengen region

  22. Cecilia 2050 classification

  23. APEC

  24. BRIC

  25. BASIC

  26. CIS (as by 2019, excl. Turkmenistan)

  27. G7

  28. G20 (listing all EU member states as individual members)

Publications