read_chemstation_csv: Read 'Agilent ChemStation' CSV files

View source: R/read_chemstation_csv.R

read_chemstation_csvR Documentation

Read 'Agilent ChemStation' CSV files

Description

Reads 'Agilent Chemstation' .csv files.

Usage

read_chemstation_csv(
  path,
  format_out = c("matrix", "data.frame", "data.table"),
  data_format = c("wide", "long"),
  read_metadata = TRUE
)

Arguments

path

Path to 'Agilent' .csv file.

format_out

Class of output. Either matrix, data.frame, or data.table.

data_format

Either wide (default) or long.

read_metadata

Logical. Whether to attach metadata. Defaults to TRUE. There is no instrumental metadata saved in the CSV files so this will only attach metadata about the settings used by chromConverter to parse the file.

Details

'Agilent Chemstation' CSV files are encoded in UTF-16.

Value

A chromatogram in the format specified by format_out (retention time x wavelength) and data_format.

Author(s)

Ethan Bass

See Also

Other 'Agilent' parsers: read_agilent_d(), read_agilent_dx(), read_chemstation_ch(), read_chemstation_ms(), read_chemstation_reports(), read_chemstation_uv()

Examples


read_chemstation_csv("tests/testthat/testdata/dad1.csv")


ethanbass/chromConverter documentation built on July 4, 2025, 12:08 p.m.