# \donttest{
# example using different naming/code conventions
three_digit <- get_admin_names("TGO") # using 3 digit iso codes
two_digit <- get_admin_names("TG") # using 2 digit iso codes
un_code <- get_admin_names(768) # using UN codes
full_name <- get_admin_names("Togo") # using full names
str(full_name$adm2)
# }
Run the code above in your browser using DataLab