- added IOC classification (by @Azrael3000)
- added 7 continents classification (by @marthhoi)
- assigned Heard Island and McDonald Islands to Antarctica
- fix pypi uploader
- fix version numbering
- removed htmlcov
- fixed numerical position warning
- Added CC41 common classification (by @hazimhussein)
- Correct spelling "Faeroe Islands" to "Faroe Islands" #145 (by @jpatokal)
- Added country code for Kosovo (by @jimmy927)
- Added Carribian Netherlands/Bonaire (by @jimmy927)
- Switched short name of Czech Republic to Czechia
- Added EL to the ISO2 codes for Greece
- Allow Guiana/Guiyana in most cases when given British/Dutch/French prefix
- Allow Gabun/Gabon
- Allow Botsuana/Botswana
- Allow England for UK
- fix Myanmar UN region (#125) [by Alan Orth]
- add missing MESSAGE R11 regions [by Advait]
- added Croatia to the Euro list [by PeterMaxwell]
- droped 3.6 support, added tests for 3.10 and 3.11
- fixed github workflow
- change repository from github.com/konstantinstadler to github.com/IndEcol
- Add build-system requirements and isort configuration to pyproject.toml [by Mike Taves]
- added Costa Rica as new OECD member (2021), fix #118
- added GWCodes, https://www.tandfonline.com/doi/abs/10.1080/03050629908434958
- added ccTLD (country top-level domains) via @plotski
- updated EEA (remove UK, Switzerland)
- rename Turkey to Türkiye
- fix UN M.49 names
- added pandas-convert (via @jim-rivera) for faster conversion of pandas series
- ISO2 did return the regex for GB|UK - fix #113
- additional data must specify ISO2 (necessary for regex matching in ISO2)
- added DACcode (pull request by @jm-rivera)
- N Korea matches North Korea - fix #95
- All rst files (readme, changelog, etc. format changed to markdown
- ISO2 column accepts regex - fix #92
- Changed name from Republic of Turkey to Republic of Türkiye (see https://en.wikipedia.org/wiki/Turkey ).
- Changed Macedonia to North Macedonia (following the Prespa agreement: https://en.wikipedia.org/wiki/Prespa_agreement).
- Escape characters in country names to allow for names with special symbols (brackets) in regex (#101)
- Updated regex of India to exclude Bassas Da India (#111)
- Minimum required version of Black is 22.3.0
- added IEA classification (by @Kajwan]
- changed development environment to python 3.9
- change github actions testing to development -> production for multiple os
- added link to example script on how to parse data for adding a new classification: https://gist.github.com/konstantinstadler/dc3583a4674a39def0d4611c095eb788
- added GBDcode (numerical Global Burden of Disease codes)
- 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
- 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
- added FAOcode (numerical FAO code)
- added CountryConverter().valid_country_classifications which gives all country classifications (without any aggregation like continents or models)
- French Guyana resettled to America (was Africa before) (fixes #76)
- D.P.R of Korea resolves to North Korea (fixes #79)
- added 2020 OECD membership for Colombia
- changed the description for installing from conda forge
- updated contributing.rst
- explained logging settings in the readme
- 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
- 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
- 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
-
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
- 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.
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
Improved test coverage Changed ISO3 for Kosovo from KSV to XKV
Switched ROW in WIOD to RoW
Switched WIOD country names to upper case to fit the WIOD database case
Minor spelling fixes
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).
Corrected Palestine ISO3 code to PSE
Minor bugfixes with UN codes and regions.
Fixing issue 22 and 23
Changed Futuna and Sahara to Uppercase
Minor update, added the citation for the JOSS article.
This is the version after the review for publication in The Journal of Open Source Software.
- Renamed XXin methods to XXas. For example coco.EU27in('ISO3') becomese coco.EU27as('ISO3')
- Some updates in README.rst (related software, badges, motivation)
- Added CONTRIBUTING.rst
This version is available at Zenodo at 10.5281/zenodo.838036 .
- Added CHANGELOG
- Updated docstrings
- Account for cases where countries or regions are specified with 'exclude ...'
- Possibility to add custom countryfile for own mappings
- Not found value can be specified also in the CLI version
- Automatically detect input format (ISO2, ISO3, ISOnumeric)
- Change ISO3 for Romania from ROM to ROU (bugfix)
- Change ISO3 for Congo from COD to COG (bugfix)
- Updated readme and IPython notebook tutorial
Initial versions, including CLI and matlab examples.