In-class Exercise 2

In this hands-on exercise, I learn how to handle geospatial data in R by using sf package.

Sarah Chin linkedin.com/in/sarahchin99/
08-23-2021

Getting Started

packages <- c('sf', 'tidyverse')
for(p in packages){
  if(!require(p, character.only = T)){
    install.packages(p)
  }
  library(p, character.only = T)
}