gchart_process_areas {gchartsmap}R Documentation

Process Google Charts data for US areas

Description

Process the downloaded Google Charts geochart data for US areas

Usage

gchart_process_areas(
  areas,
  type = c("countries", "us-areas"),
  cache = gchart_get_cache_path()
)

Arguments

areas

Area codes to get. Should be integers. If not provided, all available areas are processed.

type

Type of geo-resource. Defaults to countries.

cache

Path where the downloaded data is stored.

Details

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.


[Package gchartsmap version 1.0.1 Index]