This is a dummy blog post for testing out the various ins and outs of a Distill blog. In this in-class exercise, I learned how to handle geospatial data in R by using the sf package.
Getting Started
This code chunk performs three tasks:
packages
will be created. It consists of all the R packages required to accomplish this hands-on exercise.packages
have been installed in R. If they have yet been installed, they will be installed.packages <- c('sf', 'tidyverse')
for(p in packages){
if(!require(p, character.only = T)){
install.packages(p)
}
library(p, character.only = T)
}