Introduction

This is an introduction to spatial data manipulation with R and the terra package (under development). To install terra see the instructions on github. For the same material with the raster package, go here.

In this context “spatial data” refers to data about geographical locations, that is, places on earth. So to be more precise, we should speak about “geospatial” data, but we use the shorthand “spatial”.

This is the introductory part of a set of resources for learning about spatial analysis and modeling with R. Here we cover the basics of data manipulation.

You need to know some of the basics of the R language before you can work with spatial data in R. If you have not worked with R before, or not recently, have a look at this brief introduction to R.