map-geo-choropleth-chart: geo_choropleth_chart

Description Usage Arguments

Description

geo_choropleth_chart creates a map comprised of shaded regions (where colour is used to allow visual comparison betweem region) using the specified library, which can be used in the library's %>% workflow. Data must be provided in long format.

leaflet_geo_choropleth_chart should not be used directly, it generates a map with great circles between points using Leaflet.

Usage

1
2
3
4
5
6
geo_choropleth_chart(spdf = NA, library = "leaflet",
  region.border.width = 1, region.border.color = "#000080",
  region.value = NA, legend = list(type = "continuous", rcolorbrewer.palette
  = , minColor = NULL))

leaflet_geo_choropleth_chart(...)

Arguments

spdf

A SpatialPolygonsDataFrame containing the data to be displayed

library

Which library to use, leaflet is default.

region.border.width

Width of region borders, default to 1

region.border.color

Color of region borders, default to #000080

region.value

Column within spdf@data containing the numerical , i.e sub-categorisations. Must be given as formula, i.e. ~country

...

all arguments other than data and library provided to geo_choropleth_chart.


ox-it/oidnChaRts documentation built on May 24, 2019, 5:55 p.m.