export_loadcell: Export load cell data

Description Usage Arguments Value Author(s)

View source: R/other.R

Description

For an input object of class 'LoadCellHauls' or 'LoadCellPeaks', flattens the object data into CSVs of data. Optionally, a prefix can be given to be added to the filename. The following CSVs are created:

prefix-lc_data.csv

The load cell data, with UID and haul numbers added.

prefix-lc_haul.csv

The haul attributes, including the settings used for peak analysis. UID is included to relate hauls to load cell data.

prefix-lc_peaks.csv

The actual peak values for each haul, only if peak analysis was successful for the haul. Includes UID and haul number.

Usage

1

Arguments

data

An object of class 'LoadCellHauls' or 'LoadCellPeaks'

prefix

*Optional* A prefix to append to the filenames of the output CSVs.

Value

Boolean True if successful.

Author(s)

Bill DeVoe, William.DeVoe@maine.gov


mainedmr/loadcell documentation built on Nov. 13, 2019, 12:34 a.m.