clean_nir_files: A function to clean NIR export files

View source: R/clean_nir_files.R

clean_nir_filesR Documentation

A function to clean NIR export files

Description

This function takes all the nir file exports for a given season and extracts/cleans up the measurement data from the exports. In their original state, the exports have some header information before the measurements themselves. This function keeps just the measurement data and cleans it up to a tidy rectangular dataframe.

Usage

clean_nir_files(files = NULL, nir_masterfile = NULL, select_FA = FALSE)

Arguments

files

A vector of file paths to nir csv export files.

nir_masterfile

The file path the nir masterfile

select_FA

Logical, should fatty acid columns be included in the data


jhgille2/snfR documentation built on Jan. 31, 2023, 2:13 a.m.