View source: R/standardize.exploratories.R
standardize.exploratories | R Documentation |
Adds columns of georeference to trait-data table if measurements relate to specimens from the Biodiversity Exploratories plots or regions.
This function requires valid credentials for the Biodiversity Exploratories Information System (BExIS)!
standardize.exploratories( x, plots = "locationID", user = NULL, pswd = NULL, getdata = !is.null(user), fillall = TRUE, ..., verbose = NULL )
x |
A traitdata table of class 'traitdata'. |
plots |
Name of column containing the plot IDs. Must match the Exploratories EP_PlotID scheme (e.g. AEG1, AEG12, HEW21, ...). |
user |
User name for Biodiversity Exploratories Information System (BExIS, https://www.bexis.uni-jena.de); required for download of exact geolocation. |
pswd |
password for above request. Will be prompted for if not provided. |
getdata |
logical; if |
fillall |
if TRUE (default), the output will contain all terms suggested by the glossary and fill empty columns with NA. This is required for an upload of the data to BExIS. |
... |
If input is a rawdata table of type species-trait matrix or
occurence table (wide table) then provide parameters according to
|
verbose |
logical; if |
A traitdata object with harmonized location data from the context of the Biodiversity Exploratories project.
## Not run: moths <- read.service(21247, dec = ",") dataset1 <- as.traitdata(moths, taxa = "species", traits = c(body_mass = "weight", wing_length = "wing_length", wing_width = "wing_width", wing_area = "wing_area", wing_loading = "wing_loading"), keep = c(locationID = "plot")) dataset1Std <- standardize.exploratories(dataset1) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.