vincentarelbundock / countrycode

R package: Convert country names and country codes. Assigns region descriptors.
https://vincentarelbundock.github.io/countrycode
GNU General Public License v3.0
342 stars 84 forks source link

Turkey country name and iso3c #337

Closed gclawson1 closed 1 year ago

gclawson1 commented 1 year ago

Turkey has changed its official name to "Türkiye", and in many of the FAOSTAT datasets that I access, it now shows up as Türkiye. I keep having to manually assign the iso3c for this country because countrycode(df$countryname, origin="country.name", destination = "iso3c") doesn't recognize "Türkiye". Are there plans to add this in as a synonym for Turkey?

vincentarelbundock commented 1 year ago

Can you make sure you are running the latest version of countrycode? It works on my computer.

gclawson1 commented 1 year ago

Ah apologies, it was an encoding error on my part. Thanks!