tabnet_map | R Documentation |
Generate a ggplot2 map from indicator data of a specific year.
tabnet_map(
indicator_index,
region = "MunicĂpio",
subindicator = NULL,
years = NULL,
label = FALSE,
nBins = NULL,
palette = "Purples",
title = NULL
)
indicator_index |
Indicator index number, @seealso [tabnet_index()]. |
region |
String describing how should data be regionalized. |
subindicator |
Among the indicator, which subindicator should be used? Defaults to the last index. |
years |
Retrieve data from one or more specific years? |
label |
Boolean. Should the regions be labeled? Defaults to false. |
nBins |
Number of bins to discretize desired indicator value. |
palette |
RColorBrewer palette. |
title |
Do you want to provide a specific title? Otherwise, function will generate one itself. |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.