Process the downloaded Google Charts geochart data for US areas
gchart_process_areas(
areas,
type = c("countries", "us-areas"),
cache = gchart_get_cache_path()
)Area codes to get. Should be integers. If not provided, all available areas are processed.
Type of geo-resource. Defaults to countries.
Path where the downloaded data is stored.
Google Charts data is served as JavaScript code that defines objects with the desired data. This function processes the locally-available Google Charts js files to generate spatial objects.