Building spatial databases based on attributes
Today we’ll begin exploring typical workflows for spatial analysis by working with attribute data. Attributes generally provide additional information about a location that we can use for visualization and analysis. Unlike spatial operations that we’ll explore next week, attribute data do not all require geographic information (but they do need some means of relating to a geography).
Resources
These chapters are not ‘prerequisite’ reading for the week, but provide a lot of helpful background for attribute operations in R.
-
The Tidy Data and Relational Data sections from R For Data Science (Wickham and Grolemund 2016) provide a great overview to data cleaning and manipulation functions available in the
tidyverse
. -
Doing things with multiple tables has a lot of nice visual examples of for using the
_join
functions indplyr
. -
This article (Di Minin et al. 2021) provides a recent recap of a variety of reasons why we may need to combine data from multiple, often disparate, sources.
Slides
View all slides in new window Download PDF of all slides
Di Minin, E., R. A. Correia, and T. Toivonen. 2021. Conservation geography. Trends in Ecology & Evolution.
Wickham, H., and G. Grolemund. 2016. R for data science: Import, tidy, transform, visualize, and model data. " O’Reilly Media, Inc.".