Releases: IndEcol/country_converter
v0.7.3
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
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
version 0.7.1
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
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
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
- Added Cecilia2050 classification (merging pull request #36 (with some futher modifications)
- Changing Swaziland to Eswatini, following the official name change in April 2018 (https://unterm.un.org/UNTERM/Display/Record/UNHQ/NA/01b637e1-1497-4825-b73d-e0114a7f4d22 …). Closes issue #35
- Removed space from McDonald in "Heard and Mc Donald Islands" and updated offical name to "Territory of Heard Island and McDonald Islands". Closes issus #34.
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
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
-
Added Cecilia2050 classification (merging pull request #36 from @bixiou with some futher modifications)
-
Changing Swaziland to Eswatini, following the official name change in April 2018 (https://unterm.un.org/UNTERM/Display/Record/UNHQ/NA/01b637e1-1497-4825-b73d-e0114a7f4d22 …). Closes issue #35
-
Removed space from McDonald in "Heard and Mc Donald Islands" and updated offical name to "Territory of Heard Island and McDonald Islands". Closes issus #34.
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
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
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.
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
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).