Closed michalovadek closed 1 year ago
might be good to add to the data-known-name-variations.R test file
Thanks a lot for the pull request, I really appreciate it. I built the new dictionnary, added a test and merged it. You can now install countrycode
from GitHub with:
remotes::install_github("vincentarelbundock/countrycode")
Restart R, then:
library(countrycode)
countrycode("Italian Republic", "country.name", "iso3c")
# [1] "ITA"
countrycode("Italian Republic", "country.name", "country.name")
# [1] "Italy"
"Italy" does not capture "Italian republic"