Load the following three packages.
If you have trouble restoring the reproducible environment, you need to manually install the packages first.
isdas
: The course companion package containing all the data we will use.sf
: The GIS package that enables us to work with vector data.tidyverse
: A meta-package that encompasses plotting, data manipulation, and additional functionality.ggplot2
packageggplot2
is one of the packages included in tidyverse.geom_*
.Mapping an sf
object (vector data) is straightforward. We use geom_sf
for this purpose.
2025 Zehui Yin