In-Class Exercise 02

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.

Megan Sim https://www.linkedin.com/in/megan-sim-tze-yen/
08-23-2021

Getting Started

This code chunk performs three tasks:

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