Description Usage Arguments Value
View source: R/map_regions_sequential.R
Wrapper around tmap calls to draw a map of Government Regions of the State of Sao Paulo, using a sequential color scheme.
1 2 3 4 5 6 7 | map_regions_sequential(
df,
var_plot,
map_title = str_c("RegiƵes Gov. de SP - ", var_plot, " - Acumulado 12 meses"),
map_breaks = NA,
map_palette = "Blues"
)
|
df |
A dataframe containing one line per Government Region, and a
variable named |
var_plot |
|
map_title |
Optional character string with map title. |
map_breaks |
Optional numeric vector with breaks. |
map_palette |
Character string with the name of a sequential color palette or character vector with color HEX codes. |
A tmap plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.