Plotting data on a map can be a powerful technique for visualizing geographical information. Animating that data -- that is, making it move -- can further enhance the understanding of the underlying data. This tutorial will teach you how to plot data on simple maps using ggplot2 and animate it using gganimate . You also will learn how to use dplyr to partition data into subsets and compute summary statistics of these subsets to be plotted onto a map.
Citation and link to the tutorial:
David J. Lilja, "How to Plot and Animate Data on Maps Using the R Programming Language," University of Minnesota Digital Conservancy, https://hdl.handle.net/11299/220339, June, 2021.