Before the class, install packages sf
, tmap
, and their dependencies.
install.packages("sf")
install.packages("ggplot2")
install.packages("tmap")
Package sf
should install and link to libraries GEOS, PROJ, and GDAL, so when you load it, a message similar to this will appear:
Linking to GEOS 3.8.1, GDAL 3.1.2, PROJ 7.1.0
If you have any trouble installing and loading it, please follow the instructions in the package documentation: https://r-spatial.github.io/sf/
To follow the class, a working RStudio Cloud session is here. Create an account and copy the link to your account. https://rstudio.cloud
Tutorial here
Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".
For attribution, please cite this work as
Sánchez-Tapia & Mortara (2022, July 26). Scientific Programming: Introduction to spatial data with R. Retrieved from https://scientific-computing.netlify.app/10_spatial_tools_with_r.html
BibTeX citation
@misc{sánchez-tapia2022introduction, author = {Sánchez-Tapia, Andrea and Mortara, Sara}, title = {Scientific Programming: Introduction to spatial data with R}, url = {https://scientific-computing.netlify.app/10_spatial_tools_with_r.html}, year = {2022} }