This is an R package to create donut maps.
library(remotes)
install_github("mtennekes/odf")
install_github("mtennekes/donutmaps")
Make sure the latest CRAN version of tmap
is installed.
Load the pacakges
library(odf)
library(tmap)
library(donutmaps)
See the examples inside the documentation:
?bake_donuts
https://dashboards.cbs.nl/v1/commutingNL/
Note: this specific map is not fully reproducible yet, but is very similar to the example in bake_donuts
https://inseefrlab.github.io/lockdown-maps-R/inflows_EN.html
repository: https://github.com/InseeFrLab/lockdown-maps-R