The country converter (coco) - a Python package for converting country names between different classification schemes.
konstantinstadler
released this
05 Jan 12:13
·
200 commits
to master
since this release
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).