Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Required packages and data

If you are running these practicals on your own laptop then you will need to install quite a few packages to get the code to run. The following sections give the core packages required and then practical specific packages.

Practical directory setup

Because these practicals link up and share data, it is best to set up a shared data folder and then create folders for each practical:

Spatial methods practical

You will need to install the following packages:

# Core GIS package
install.packages('terra')
install.packages('sf')

You will also need to download the practical data bundle:

Microclimate practical

You will need to install the following packages:

install.packages(openxlsx2)   # for opening excel files
install.packages(tidyverse)   # for data manipulation and plotting
install.packages(janitor)     # for cleaning column names and general tidying
install.packages(patchwork) 

You will also need to download the practical data bundle: