This function extracts all references for selected VegVault extraction plan (i,e., this function should be used before extracting data from the plan).
Usage
get_references(
con = NULL,
type = c("Dataset", "DatasetSource", "DatasetSourceType", "SamplingMethod", "Sample",
"Taxon", "Trait", "AbioticVariable"),
get_source = TRUE,
verbose = TRUE
)
Arguments
- con
A VegVault connection (a plan).
- type
A character vector specifying the type of references to be extracted. The function will try to extract all possible reference types. The following types are available:
Dataset
,DatasetSource
,DatasetSourceType
,SamplingMethod
,Sample
,Taxon
,Trait
, andAbioticVariable
.- get_source
A logical indicating whether to extract the source of each references
- verbose
A logical indicating whether to print messages about the progress of the function. Default is
TRUE
.