Imports Log and Data Files from Eosense Flux Chambers

Imports log and data files from "Eosense" ecosystem gas flux chambers into dataframes that can directly be used with "fluxible" by Gaudard et al (2025) .


readosense

R-CMD-check CRANstatus LifeCycle cranlogs

The readosense R package provides an easy way to import raw files from Eosense ecosystem gas flux chambers as dataframes that can be used with the fluxible package.

Installation

readosense can be installed from CRAN:

install.packages("readosense")

Or you can install the development version from GitHub with:

# install.packages("pak")
pak::pak("jogaudard/readosense")

Workflow

Importing the log files

library(readosense)

# this step is not needed if you know where your data are
path_logs <- system.file("extdata/ex_logs", package = "readosense")

logs <- eo_import_logs(path_logs)

chamber_log <- eo_logs(logs)

env_variables <- eo_env(logs)

Doing so, the function eo_import_logs is run only once, which is faster.

Importing the data files


# this step is not needed if you know where your data are
path_data <- system.file("extdata/ex_data", package = "readosense")

data <- eo_data(path_data)


# it is more practical to join the environmental data here

data <- data |>
  dplyr::left_join(env_variables, by = dplyr::join_by(f_datetime == datetime))

Using fluxible

The first step of the fluxible workflow would then look like this:

library(fluxible)

conc <- flux_match(
  raw_conc = data,
  field_record = chamber_log,
  f_datetime = f_datetime,
  start_col = closing,
  end_col = opening
)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("readosense")

0.0.1 by Joseph Gaudard, 8 months ago


https://jogaudard.github.io/readosense/


Report a bug at https://github.com/jogaudard/readosense/issues


Browse source code at https://github.com/cran/readosense


Authors: Joseph Gaudard [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL (>= 3) license


Imports dplyr, lubridate, purrr, readr, rlang, tidyr

Suggests testthat


See at CRAN