Overview package forrescalc

Introduction

The package forrescalc is developed to analyse tree measure data from Vandekerkhove et al. (2021) that are saved in a Fieldmap database. The package contains functions to aggregate the data to different levels. As the dataset is rather large and these calculations take a lot of time, the package also contains functions to save results in a git repository and retrieve them afterwards for further analysis or visualisation of results. Primary results of the aggregations are saved in the git repository forresdat, which is meant to be data source for aggregated data on forests. Calculations are done by using ID codes, and lookup tables for these codes are saved as separate tables in forresdat.

Installation

To install forrescalc from the INBO universe, start a new R session and run this code (before loading any packages):

# Enable the INBO universe
# (not needed for INBO employees, as this is the default setting)
options(
  repos = c(
    inbo = "https://inbo.r-universe.dev", CRAN = "https://cloud.r-project.org"
  )
)
# Install the package
install.packages("forrescalc")

To install forrescalc from GitHub, start a new R session and run this code (before loading any packages):

install.packages("remotes")
remotes::install_github("inbo/forrescalc", build_vignettes = TRUE)

Some functions require local access to the GitHub repository forresdat.

References

Vandekerkhove K., Van de Kerckhove P., Leyman A., De Keersmaeker L., Lommelen E., Esprit M. and Goessens S., 2021. Monitoring programme on strict forest reserves in Flanders (Belgium): Methods and operational protocols: With an overview of the intensive monitoring sites. Reports of the Research Institute for Nature and Forest 2021(28). Research Institute for Nature and Forest, Brussels. https://doi.org/10.21436/inbor.38677490