Skip to content

Releases: IndEcol/country_converter

v0.7.3

09 Apr 12:02
Compare
Choose a tag to compare

Change Log

0.7.3 - 20210409

Classifications

  • added GBDcode (numerical Global Burden of Disease codes)

Bug Fixes

  • Update for regex for several regions which erroneous matched countries (solves #86)
  • CLI help fix (solves #81)
  • Added HKSAR for Hong Kong, N.Korea for North Korea and some Macaou tests (solves #84)
  • Fixed for pandas Series inputs (solves #54)
  • Fixed aggregation concordance (solves #82)
  • Indiana does not match India

Development

  • functionality for testing regions which should not match
  • handle pandas future regex warning
  • moved from travis to github actions for CI testing
  • restructured tests and added test for consistent CHANGELOG - module version

version 0.7.2

27 Jan 21:41
Compare
Choose a tag to compare

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.

Changelog

Classifications

  • added FAOcode (numerical FAO code)

API

  • added CountryConverter().valid_country_classifications which gives all country classifications (without any aggregation like continents or models)

Bug Fixes

  • French Guyana resettled to America (was Africa before) (fixes #76)
  • D.P.R of Korea resolves to North Korea (fixes #79)

version 0.7.1

14 Oct 10:40
Compare
Choose a tag to compare

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.

0.7.1 - 20201014

Classifications

  • added 2020 OECD membership for Colombia

Misc

  • changed the description for installing from conda forge
  • updated contributing.rst
  • explained logging settings in the readme

0.7.0 - 20200925

25 Sep 14:46
Compare
Choose a tag to compare

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.

CHANGELOG

Breaking

  • removed support for python 3.5
  • minimum pandas version = 1.0
  • The classifications for the EU are now based on names (EU27, EU15, ...) - the
    years have been removed (Brexit had made this necessary).
  • The output of the class level attributes and methods for the classifications
    (e.g. coco.OECD or coco.EXIO3as()) has changed
  • The standard output of the command line changed from ISO3 to short names,
    pass --to=ISO3 for the previous behaviour

Classifications

  • Added EU12, EU15, EU25, EU27_2007, EU28 and EU27 classification. This follows
    the names as explained here https://ec.europa.eu/eurostat/statistics-explained/index.php/Glossary:EU_enlargements
  • The classification EU is linked to EU27 (thus status after Brexit)
  • The classification UN is a shortcut for UNmember
  • Added IAM IMAGE and REMIND classifications
  • Added EEA, for now including UK as it is still in place
  • Added Schengen region classification
  • Updated Lithuania OECD membership
  • fixed Ireland, UK, US regex problems - UK, GB and US are now included in the
    regex search term
  • changed official name of Macao to Macau

Internals

  • Adding class level attributes for the shortcuts to the classifications is now automated
  • multiple bug and spelling fixes
  • using black and isort for the code style
  • logger used in the country_converter is named (based on module name)
  • re-established test coverage

Extended country classifications

11 Oct 14:20
Compare
Choose a tag to compare

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.

0.6.7 - 20191011

  • fixed various country spellings
  • Calling the command line (coco) without arguments prints help message
  • Deprecated pandas methods (ix, read_table) replaced
  • CLI interface allows to
    • include obsolete countries (--include_obsolete, -i)
    • restrict to only UN membersstates (--UNmember_only, -u)
    • return classifications (e.g. coco OECD or coco EXIO1)
  • Extended classification helper

0.6.6 - 20180729

0.6.5 - 20180309

Coco now includes as switch for including obsolete countries (off by default),
see https://github.com/konstantinstadler/country_converter#classification-schemes

Further improved test coverage

0.6.4 - 20180308

Improved test coverage
Changed ISO3 for Kosovo from KSV to XKV

0.6.3 - 20180105

Switched ROW in WIOD to RoW

0.6.2 - 20180105

Switched WIOD country names to upper case to fit the WIOD database case

Cecilia2050 classification and Eswatini/Swaziland switch

29 Jul 21:07
04b4563
Compare
Choose a tag to compare

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.

0.6.6 - 20180729

0.6.5 - 20180309

Coco now includes as switch for including obsolete countries (off by default), see https://github.com/konstantinstadler/country_converter#classification-schemes

Further improved test coverage

0.6.4 - 20180308

Improved test coverage Changed ISO3 for Kosovo from KSV to XKV

0.6.3 - 20180105

Switched ROW in WIOD to RoW

Obsolote country switch included

09 Mar 08:20
Compare
Choose a tag to compare

Pymrio is an open source tool for analysing global environmentally extended multi-regional input-output tables (EE MRIOs).
Pymrio aims to provide a high-level abstraction layer for global EE MRIO databases in order to simplify common EE MRIO data tasks.
Pymrio includes automatic download functions and parsers for available EE MRIO databases like EXIOBASE_, WIOD_ and EORA26_.
It automatically checks parsed EE MRIOs for missing data necessary for calculating standard EE MRIO accounts (such as footprint, territorial, impacts embodied in trade) and calculates all missing tables.
Various data report and visualization methods help to explore the dataset by comparing the different accounts across countries.

Pymrio is an open source tool for analysing global environmentally extended multi-regional input-output tables (EE MRIOs).
Pymrio aims to provide a high-level abstraction layer for global EE MRIO databases in order to simplify common EE MRIO data tasks.
Pymrio includes automatic download functions and parsers for available EE MRIO databases like EXIOBASE_, WIOD_ and EORA26_.
It automatically checks parsed EE MRIOs for missing data necessary for calculating standard EE MRIO accounts (such as footprint, territorial, impacts embodied in trade) and calculates all missing tables.
Various data report and visualization methods help to explore the dataset by comparing the different accounts across countries.

0.6.5 - 20180309

Coco now includes as switch for including obsolete countries (off by default),
see https://github.com/konstantinstadler/country_converter#classification-schemes

Further improved test coverage

0.6.4 - 20180308

Improved test coverage
Changed ISO3 for Kosovo from KSV to XKV

0.6.3 - 20180105

Switched ROW in WIOD to RoW

Kosovo ISO3 update and test coverage

08 Mar 12:00
Compare
Choose a tag to compare

Country Converter (Coco)

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.

0.6.4 - 20180308

Improved test coverage
Changed ISO3 for Kosovo from KSV to XKV

0.6.3 - 20180105

Switched ROW in WIOD to RoW

The country converter (coco) - a Python package for converting country names between different classification schemes.

05 Jan 12:13
Compare
Choose a tag to compare

Country Converter (Coco)

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.

Change Log

0.6.3 - 20180105

Switched ROW in WIOD to RoW

0.6.2 - 20180105

Switched WIOD country names to upper case to fit the WIOD database case

0.6.1 - 20180102

Minor spelling fixes

0.6.0 - 20180102

Aggregation concordance building functionality with

  • method get_correspondance_dict in CountryConverter
  • function agg_conc which build concordance matrices in various formats
  • notebook tutorial

Include Eora(26) country codes

CountryConverter accepts a parameter only_UNmember to restrict the concordances to UN member countries.

Fix and close Issue #28 (Wrong ISO3 code for Palestine) and #25 (Non-standard codes).

Aggregation functionality, Eora26 codes and issue fixing

02 Jan 09:26
Compare
Choose a tag to compare

Aggregation concordance building functionality with

  • method get_correspondance_dict in CountryConverter
  • function agg_conc which build concordance matrices in various formats
  • notebook tutorial

Include Eora(26) country codes

CountryConverter accepts a parameter only_UNmember to restrict the concordances to UN member countries.

Fix and close Issue #28 (Wrong ISO3 code for Palestine) and #25 (Non-standard codes).