Closed hgoers closed 2 years ago
The default regexes are designed to pick up English names. You could try then countryname()
which tries to do more clever stuff
I agree with the issue. Türkiye is going to be seen in English more often now.
My understanding is that Türkiye is to be used in English and French (I am not sure about other languages). It would be really useful if countrycode::countrycode
could either convert Turkey to Türkiye (and Turquie to Türkiye) to reflect this new official name, or if the country.name.X.regex
picked up Türkiye and converted it to Turkey (Turquie).
Ah thanks for the clarification! I agree we should make that change.
I'm on vacation now but will be happy to make the change when I return in a few weeks if no one has gotten to it yet.
Thanks for the report!
Thanks so much for a fantastic package!
Hello all,
Thank you so much for
countrycode
. I use it almost every day to support my work and research.I noticed a small issue resulting from the recent official name change for Turkey. The current regex does not pick up this new name: Türkiye.
Reprex:
Warning thrown:
I was able to convert it with the rather crude
turkey|türkiye|turkiye
.Thanks!