ingest_xle: Ingest Solinst Levellogger data from *.xle files

Description Usage Arguments Details Value Examples

View source: R/ingest_xle.R

Description

ingest_xle ingests data from Solinst levellogers that are stored in *.xle format. This is the standard format for data offloaded from Solinst levelloggers and barologgers. All ingest functions use the source file name as an identifying column to track provenance and relate data and metadata read from files. Please check that you have unique file names."

Usage

1
ingest_xle(input.source, header.info = TRUE, collapse.timestamp = FALSE)

Arguments

input.source

A string representing the file to ingest

header.info

A logical indicating if header information is written to a separate data frame

collapse.timestamp

A logical indicating if a single timestamp should returned rather than separate date and time columns. Defaults to FALSE, returning date and time as character columns

Details

By default Solinst .xle files do not include a timezone, but time are stored in whatever timezone you set the datalogger when launching.

Value

A dataframe. If export.header = TRUE a temporary file is created for the header data. See ingest_header for more information.

Examples

1
2
xle_file <- system.file("example_data", "solinst.xle", package = "ingestr")
ingest_xle(input.source = xle_file)

jpshanno/ingestr documentation built on Sept. 24, 2020, 11:40 a.m.