High-level functions

These functions offers an intuitive and user-friendly way to import (and possibly) transform multiple files at once in a given location.

lr_get_spec()

Extract spectral data from spectra files

lr_get_metadata()

Extract metadata from spectra files

lr_convert_tocsv()

Convert spectral data files to csv files

Low-level parsers

These functions are destined to advanced users that want a more flexible way to import spectral data. They can only read a single file at a time and users are responsible for writing a loop if necessary.

lr_parse_generic()

Generic function to parse spectra files that don't have a specific parser

lr_parse_jaz() lr_parse_jazirrad()

Parse OceanInsight converted file

lr_parse_jdx()

Parse OceanInsight JCAMP-DX (.jdx) file

lr_parse_procspec()

Parse OceanInsight ProcSpec file

lr_parse_spc()

Parse SPC binary file

lr_parse_trm() lr_parse_abs() lr_parse_roh() lr_parse_rfl8() lr_parse_raw8()

Parse Avantes binary file

lr_parse_ttt() lr_parse_trt()

Parse Avantes converted file