View source: R/read_licorfile.R
read_licorfile | R Documentation |
A function that reads a licorfile. It returns a clean dataframe with only the desired parametes.
No dots in the file path accepted, except one for the file type. The functions of this package expect the parameter names of a Li-6800, so change_names = TRUE is recommended. Li-6800 manual page 226 Li-6400 manual page 21 (81 of 1324)
read_licorfile(
filepath,
sheetnumber = 1,
parameters = c(),
numeric = TRUE,
convert = TRUE
)
filepath |
A string with the filepath to read (if reading from excel). |
sheetnumber |
An integer which sheet to read from the file. |
parameters |
A list of desired parameters to extract. Default is everything. |
numeric |
A boolean that regulates if the dataframe is changed to numeric. Default is TRUE (reccomended). |
convert |
A boolean that regulates if the names from the Li-6400 files are changed to the Li-6800 format. Default is TRUE. |
Returns a dataframe with only the desired parameters.
Sam Loontjens
parameters_to_extract <- c("A, Ci, elapsed, Qin")
dataframe <- read_licorfile("20210226 PI 50-100 75RH 400CO2 T.xlsx",
parameters_to_extract)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.