Skip to contents

Reads data from a LI-7000 CO2/H2O analyzer file, cleans column names, and ensures proper time column handling. Handles cases where headers are repeated mid-file.

Usage

read_licor_li7000(filepath)

Arguments

filepath

Character string specifying the path to the LI-7000 data file. File should be tab-separated with two header rows.

Value

A tibble containing the processed LI-7000 data with:

  • All original columns with cleaned names (lowercase, no spaces)

  • Standardized time column

  • Data combined across any mid-file header breaks

Details

The function performs the following operations:

  1. Reads the entire file as lines

  2. Identifies and removes any mid-file headers

  3. Cleans column names using janitor::make_clean_names()

  4. Ensures proper time column naming

Examples

if (FALSE) { # \dontrun{
# Read a LI-7000 data file
data <- read_licor_li7000("path/to/li7000_data.txt")
} # }