Week 2

Welcome to GES668 / Get started with spatial data in R

weeks
Published

February 4, 2025

Summary
Review the course syllabus and structure. Get started with spatial data using {sf} and the tidyverse.

Overview

Welcome to Building Spatial Datasets!

Our first session starts with a general introduction to the course and a hands-on introduction to using R for working with spatial data.

Key Objectives

  • Provide an overview of the scope and schedule of the course
  • Introduce the concept of reproducibility and key reproducible practices for data management, programming, collaborating with colleagues, organizing projects, and tracking work
  • Configure RStudio and create a RStudio project
  • Introduce the concept of simple features and how the concept is implemented by the {sf} package
  • Create a Quarto document to practice using the {tidyverse} and {sf} package

Key Skills

  • Creating self-contained projects with RStudio
  • Installing packages with install.packages()
  • Loading packages with library()
  • Using the ? operator to look up function documentation
  • Using str() or View() to look at an object
  • Using an assignment operator (<- or =) to save an output to a new object
  • Creating and editing Quarto documents with RStudio
  • Using sf::st_read() to read a sf object from a file path or URL

Prepare

Required readings

Optional resources

Additional readings on working with spatial data in R:

Additional readings on reproducible practices:

Participate

🖥️ Welcome to GES 668

🖥️ Introduction to Spatial Data with R

Practice

🛠️️ Exercise 01