Description Usage Arguments Details See Also Examples
Sapflux metadata is required to interpret the signals returned by the datalogger during data collection, and the 'flux' class objects require metadata to be formatted a particular way - this function serves to check the integrity of the metadata relative to what's required by the class, and also guides import/formatting from a filename or dataframe present in the current working environment.
1 2 | MetaDataImport(metadata, check.only = FALSE, time.format = "%m/%d/%Y",
diam = "circle", diam.fill = FALSE, rewrite = FALSE)
|
metadata |
Filename of metadata OR data frame |
check_only |
Skip import and just perform a metadata integrity check. Defaults to FALSE. |
The function checks for the following columns:
date.install
: Date the port began data collection.
date.removed
: Date the port stopped collecting data.
port.tag
: The datalogger port tag. Must be a unique value,
and values must be matched with a unique value
in the imported data.
stem.tag
: The ID for the stem associated with the probe.
Not required to be unique.
plant.tag
: The ID for the plant associated with the probe.
Not required to be unique.
diam.at.probe
: Stem diameter at probe placement.
Other preprocess: AutoDropOutliers
,
BindRawFlux
,
ConsoleDropOutliers
,
DropRainyDays
,
GenerateMetaTemplate
,
ImportMeta
, ImportRawFlux
,
oldBindRawFlux
,
oldImportRawFlux
1 2 | MetaDataImport(metadata = foo.csv)
# in console, if successful: Finished metadata!
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.