Animated map areal of dengue cases by municipality

mp_animated_mpo(
  data,
  year,
  name,
  dir,
  country,
  breaks = NULL,
  save,
  cve_edo = NULL,
  text_size,
  dot = NULL,
  pal = NULL
)

Arguments

data

is dengue dataset.

year

is the year of dataset

name

is the name of the gif file.

dir

is the directory where the animation will be saved.

country

is logical value for indicating if the map is for all country o by state.

breaks

is the numeric for defining the breaks of legend.

save

is the logical value for indicating if the gif is saved or not.

cve_edo

is the id of state according the https://www.inegi.org.mx/default.html.

text_size

is the size of text in the circle.

dot

is the logical value, if dot TRUE the tmap is dot, else is areal.

pal

is the palette.

Value

a gif file of animation.

Details

tmap_animation.

See also

Author

Felipe Antonio Dzul Manzanilla felipe.dzul.m@gmail.com

Examples

1+1
#> [1] 2