This is an interactive course on spatial data in R π. It can be run inside e.g. RStudio with the swirl
-package π. The project is in its development stage. Lessons listed below are already open for learning and testing. Suggestions are very welcome.
Install swirl
and the current version of this course by running the following lines:
install.packages("swirl")
library(swirl)
install_course_github("joheisig", "Spatial_Data_in_R")
When the swirl
-package is loaded, activate the course environment:
swirl()
- Raster Basics: plot, crop and subset rasters, get basic meta data and stats
- Vector Basics: explore point, line and polygon features, subset by attribute, create an overview map, calculate intersections
- Import & Export: read and write raster files, load shapefiles, import point features from csv, write shapefiles