get_cc {dialr} | R Documentation |
Get ISO country code
Description
Get ISO country code from a country name.
Usage
get_cc(country)
Arguments
country |
A character vector of country names. |
Value
A vector of ISO country codes (NA
where not found).
Examples
get_cc("Australia")
get_cc(c("Australia", "China", "United states"))
[Package dialr version 0.4.2 Index]