gchart_get_countries {gchartsmap}R Documentation

Get Google Charts data for countries

Description

Access the Google Charts geochart data for countries

Usage

gchart_get_countries(
  countries = "all",
  server = "https://www.gstatic.com/charts/geochart/10/mapfiles/",
  cache = gchart_get_cache_path(),
  verbose = FALSE
)

Arguments

countries

Country codes to get.

server

Google geochart server to access.

cache

Path to store downloaded data.

verbose

Whether to show messages during processing.

Details

The function invisibly returns the file path for successful requests or the response status code for failed requests, in a character vector with the country code for each element.


[Package gchartsmap version 1.0.1 Index]