This R package is used to process, manage, and report liquid water sample isotope data generated using Picarro L21X0-i analyzers in the SIRFER lab at the University of Utah. Components may be reusable/portable to other labs; future versions will improve portability.
library(devtools)
install_github("SPATIAL-Lab/CRDSutils@*release")
library(CRDSutils)
write_config()
Installs the current release from GitHub.
The write_config
function is an interactive tool that collects and saves configuration information.
File system setup should be as follows. Each of the first-order directory or file paths will be requested and saved by write_config
.
reduce("hids1234", "2022-01-01")
The high-level function reduce
processes and calibrates data from a CRDS run, generates two reports, and optionally exports the data to the Waterisotopes Database (if configured in write_config
, for authenticated users). The data reduction workflow is defined in a markdown file bundled with the package and follows these steps:
report("22-060")
This high-level function can be used to generate a data report containing results for samples associated with a given JOBNUM (or any secondary ID) and analyzed in one or more CRDS runs. Reports are saved in one of several formats (see help page), and the processing steps vary with format. In general, data associated with the job are identified, retrieved, and compiled, possibly along with reference material or QC data associated with the runs in which the samples were analyzed. These are then formatted and written to .xlsx or .csv files.
All versions of the report
currently require an authenticated connection to the Waterisotopes Database; future versions of the package will support report generation from the .xlsx data reduction reports without a database connection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.