gchart_get_us_areas {gchartsmap} | R Documentation |
Get Google Charts data for US areas
Description
Access the Google Charts geochart data for US areas
Usage
gchart_get_us_areas(
areas,
server = "https://www.gstatic.com/charts/geochart/10/mapfiles/",
cache = gchart_get_cache_path(),
limit = 1000
)
Arguments
areas |
Area codes to get. Should be integers. |
server |
Google geochart server to access. |
cache |
Path to store downloaded data. |
limit |
Maximum number of areas to look for |
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 area name for each element.
[Package gchartsmap version 1.0.1 Index]