Description Usage Arguments Value Examples
Convert a country ISO3 code to the full name. Exposes the rworldmap function isoToName(ctryCode). #rworldmap::isoToName can resolve 2-letter ctryCodes but we only want 3-letter ISO3 codes. With no parameters returns a list of ctryCodes and their corresponding names as given by rworldMap::getMap@data
1 | ctryCodeToName(ctryCodes)
|
ctryCodes |
The country Codes to search for |
Character The full country name if the ctryCode is found. If
ctryCode
is not supplied then return a list of all country
codes and their corresponding names
1 2 3 4 5 6 7 | ctryCodeToName("KEN") #returns Kenya
ctryCodeToName("ARE") #returns United Arab Emirates
ctryCodeToName("USA") #returns United States of America
ctryCodeToName("JAM") #returns Jamaica
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.