Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

alpha 2 codes 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: #alpha #codes
ADD COMMENT
Topic
Name
5+6 =