MetaDataImport: Flux metadata import/integrity check function 6/6/2018...

Description Usage Arguments Details See Also Examples

Description

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.

Usage

1
2
MetaDataImport(metadata, check.only = FALSE, time.format = "%m/%d/%Y",
  diam = "circle", diam.fill = FALSE, rewrite = FALSE)

Arguments

metadata

Filename of metadata OR data frame

check_only

Skip import and just perform a metadata integrity check. Defaults to FALSE.

Details

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.

See Also

Other preprocess: AutoDropOutliers, BindRawFlux, ConsoleDropOutliers, DropRainyDays, GenerateMetaTemplate, ImportMeta, ImportRawFlux, oldBindRawFlux, oldImportRawFlux

Examples

1
2
MetaDataImport(metadata = foo.csv)
# in console, if successful: Finished metadata!

bmcnellis/sapflux documentation built on May 12, 2019, 10:27 p.m.