Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

two letter country code in r

#Use countrycode function to convert countrynames to ISO-2 char codes
countrycode::countrycode(sourcevar = c("United Kingdom", "Malaysia"),
                         origin = "country.name", destination = "iso2c")
 
PREVIOUS NEXT
Tagged: #letter #country #code
ADD COMMENT
Topic
Name
7+4 =