Description Usage Arguments Details Value Note Author(s) References See Also
From country name in English to International Organization for Standardization (ISO 3166-1 alpha-2 / alpha-3) [1].
1 | countryToISO(country = NULL, iso = 2)
|
country |
Data.Frame class. a vector with countries names in English. See details. |
iso |
numeric (2 or 3). To define the code whether ISO-2 (iso=2, default value) or ISO-3 (iso=3). |
To see the valid names in English the user can use the command data(countryNames).
A data frame object with the ISO 3166-1 alpha-2/alpha-3 assigned to each country.
See: R-Alarcon V, Miranda-Esquivel DR.(submitted) geocleaMT: An R package to cleaning geographical data from electronic biodatabases.
R-Alarcon Viviana and Miranda-Esquivel Daniel R.
[1] ISO 2015. International standard for country codes and codes for their subdivisions. Country codes - iso 3166. International Organization for Standardization. Available online at http://www.iso.org/iso/country_codes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.