load_csvs: Load CSVs

Description Usage Arguments Value Author(s)

View source: R/parsing.R

Description

For an input directory, loads CSVs created by the DMR load cell software into an output class 'LoadCellData'.

Usage

1

Arguments

dir

Directory to scan for load cell CSVs. If no directory is provided, the current working directory will be used.

Value

A class of type 'LoadCellData'; class items are named with the CSV filename. Each class item represents a nested list containing the following attributes:

data

A dataframe of the load cell data contained in the CSV.

sn

Serial number of the load cell USB adapter.

traps

The number of traps per trawl, if entered in the interface.

start_dt

A POSIXlt object representing the start datetime of the CSV.

end_dt

A POSIXlt object representing the end datetime of the CSV.

seconds

The number of elapsed seconds in the CSV.

max_load

An integer representing the maximum load within the CSV.

min_load

An integer representing the minimum load within the CSV; useful for determining a "zero" value for the weight of the block with no line.

kfactor

The Keliher conversion factor applied to the data.

Author(s)

Bill DeVoe, William.DeVoe@maine.gov


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