GEOG 215: Introduction to Spatial Data Science

GEOG 215 introduces spatial data science: using code to collect, manage, analyze, and map data about places, and asking why location matters. Students work in R and RStudio from the first week, learning to think geographically and computationally at the same time. The course counts toward the IDEAs in Action FC-QUANT requirement.

The course moves through six units:

  • R and spatial data science: R, RStudio, and R Markdown; vectors, data frames, if statements, loops, and writing your own functions.
  • The tidyverse: filtering, sorting, and summarizing data with dplyr and the pipe, and making graphs with ggplot2.
  • Maps and geographic data: thematic maps with tmap, vector and raster data, coordinate systems and map projections, and downloading data from the US Census Bureau and ArcGIS servers.
  • Spatial analysis: joining tables by attribute and by location, exploratory data analysis, and spatial statistics such as the mean center.
  • Statistics and science: p-values, ANOVA, linear regression, reproducible projects, and spatial autocorrelation with Moran’s I and Getis-Ord Gi*.
  • Next steps: interactive maps and dashboards with leaflet and Shiny, and where spatial data science leads, from remote sensing to GeoAI.

Textbook

The course has its own free, interactive textbook, written from the lectures. Every chapter is a runnable Quarto document, so the tables and maps come from the R code printed beside them, and many code boxes can be edited and run right in your browser.

Read Introduction to Spatial Data Science