Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Italian republic #339

Merged
merged 2 commits into from
Aug 6, 2023
Merged

Conversation

michalovadek
Copy link
Contributor

"Italy" does not capture "Italian republic"

@cjyetman
Copy link
Collaborator

might be good to add to the data-known-name-variations.R test file

@vincentarelbundock vincentarelbundock merged commit 78a363c into vincentarelbundock:main Aug 6, 2023
6 checks passed
@vincentarelbundock
Copy link
Owner

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants