map_regions_sequential: Plots a sequential-scale map of Sao Paulo's Government...

Description Usage Arguments Value

View source: R/map_regions_sequential.R

Description

Wrapper around tmap calls to draw a map of Government Regions of the State of Sao Paulo, using a sequential color scheme.

Usage

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"
)

Arguments

df

A dataframe containing one line per Government Region, and a variable named regiao_governo.

var_plot

character with the name of the variable to be plotted.

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.

Value

A tmap plot.


andremenegatti/cagedExplorer documentation built on July 1, 2020, 1:25 a.m.