to.ISO3 {PolarCAP} | R Documentation |
Checks if requested countries are formatted correctly for PolarCAP and attempts to convert them to ISO 3166-1 alpha-3 country codes if not.
to.ISO3(countries)
countries |
a character vector of countries to be checked (case-insensitive). |
a character vector of length equal to that of countries
.
to.ISO3(c("ALB", "aus", "united states"))