View source: R/load_plotinfo.R
load_plotinfo | R Documentation |
Fieldmap
databaseThis function queries the given database to retrieve additional data on plots
to save in forresdat
and link with the datasets that are saved there.
load_plotinfo(database, plottype = NA, forest_reserve = NA, processed = TRUE)
database |
name of |
plottype |
possibility to select only data for a certain plot type, e.g. 'CP' for Circular plot or 'CA' for 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) |
processed |
Should only processed and surveyed data be added? Defaults to TRUE (yes). |
Dataframe with columns plot_id
, plottype
, forest_reserve
,
period
, year
of dendrometric survey and information on
(1) whether there has been a dendro, deadwood, regeneration and/or
vegetation survey and (2) whether the data have been processed or not.
library(forrescalc)
# (add path to your own fieldmap database here)
path_to_fieldmapdb <-
system.file("example/database/mdb_bosres.sqlite", package = "forrescalc")
load_plotinfo(path_to_fieldmapdb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.