
Helper function to get the data inside the map data The urls are listed in https://code.highcharts.com/mapdata/.
Source:R/highmaps.R
get_data_from_map.RdHelper function to get the data inside the map data The urls are listed in https://code.highcharts.com/mapdata/.
Arguments
- mapdata
A list obtained from
download_map_data.
Examples
if (FALSE) { # \dontrun{
dta <- download_map_data("https://code.highcharts.com/mapdata/countries/us/us-ca-all.js")
get_data_from_map(dta)
} # }