This function queries the given database to retrieve data on regeneration (ready for use in calculate_regeneration function).

load_data_regeneration(database, plottype = NA, forest_reserve = NA)

Arguments

database

name of fieldmap/access database (with specific fieldmap structure) including path

plottype

possibility to select only data for a certain plot type, e.g. 'Circular plot' or 'Core area' (the default NA means that data from all plots are retrieved)

forest_reserve

possibility to select only data for 1 forest reserve by giving the name of the forest reserve (the default NA means that data from all plots are retrieved)

Value

Dataframe with regeneration data

Examples

if (FALSE) {
#change path before running
library(forrescalc)
load_data_regeneration("C:/MDB_BOSRES_selectieEls/FieldMapData_MDB_BOSRES_selectieEls.accdb")
}