Learn R Programming

fluxfinder (version 1.1.0)

ffi_read_LGR915: Read a LGR 915-0011 data file

Description

Read a LGR 915-0011 data file

Usage

ffi_read_LGR915(file, date_format = "DMY", tz = "UTC")

Value

A data.frame with the parsed data.

Arguments

file

Filename to read, character

date_format

Date format, character: "MDY" (month-day-year) "DMY" (day-month-year), or "YMD" (year-month-day)

tz

Time zone of the file's time data, character (optional)

Details

The LGR 915-0011 was an Ultra-Portable Greenhouse Gas Analyzer made by Los Gatos Research. The date in its output files can appear in different formats, which is why the date_format parameter is needed.

Examples

Run this code
f <- system.file("extdata/LGR-data.csv", package = "fluxfinder")
dat <- ffi_read_LGR915(f, date_format = "MDY")
dat <- ffi_read_LGR915(f, date_format = "MDY", tz = "EST") # specify time zone

Run the code above in your browser using DataLab