In this hands-on exercise, I learn how to handle geospatial data in R by using sf package.
This code chunk performs 3 tasks:
packages <- c('sf', 'tidyverse')
for(p in packages){
if(!require(p, character.only = T)){
install.packages(p)
}
library(p, character.only = T)
}