Open Cidree opened 5 months ago
In the Eurostat nomenclature the abbreviation of Greece is EL, and the code of the United Kingdom is UK. countrycode::country_name uses a different nomenclature for country codes.
Hello,
The ISO 2 code for Greece in the table
eurostat::eu_countries
is set asEL
when it should beGR
The countrycode package you are using has its own nomenclature category for eurostat data. You can translate the codes to iso2c:
require(countrycode)
geo <- "EL"
countrycode::countrycode(geo, origin = "eurostat", destination = "iso2c")
Fixed in v4.1 branch commit 24da9db by adding an explicit mention about this special case
I will close this issue when release 4.1 is finalised.
Hello,
The ISO 2 code for Greece in the table
eurostat::eu_countries
is set asEL
when it should beGR