ctryCodeToName: Convert a country ISO3 code to the full name
Description
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
Usage
ctryCodeToName(ctryCode)
Arguments
ctryCode
The country Code to search for
Value
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
# NOT RUN {ctryCodeToName("KEN") #KenyactryCodeToName("ARE") #United Arab EmiratesctryCodeToName("USA") #United States of AmericactryCodeToName("JAM") #Jamaica# }