library(package = "gchartsmap")
# set the cache path to your system's cache path
gchartsmap::gchart_set_cache(path = tempdir())
# GET and process all countries
gchartsmap::gchart_generate_countries(countries = "GT")
# clean up
list.files(
tempdir(), all.files = TRUE, full.names = TRUE, recursive = TRUE
)
Run the code above in your browser using DataLab