Convert spectral data files to csv files
Usage
lr_convert_tocsv(
where = NULL,
ext = "txt",
subdir = FALSE,
ignore.case = TRUE,
overwrite = FALSE,
metadata = TRUE,
...
)Arguments
- where
Folder in which files are located (defaults to current working directory).
- ext
File extension to be searched for, without the "." (defaults to
txt). You can also use a character vector to specify multiple file extensions.- subdir
Should subdirectories within the
wherefolder be included in the search? (defaults toFALSE).- ignore.case
Should the extension search be case insensitive? (defaults to
TRUE)- overwrite
logical. Should the function overwrite existing files with the same name? (defaults to
FALSE).- metadata
logical (defaults to
TRUE). Should metadata be exported as well? They will be exported in csv files will the_metadata.csvsuffix.- ...
Arguments passed to individual parsers.
Details
You can customise the type of parallel processing used by this function with
the future::plan() function. This works on all operating systems, as well
as high performance computing (HPC) environment. Similarly, you can customise
the way progress is shown with the progressr::handlers() functions
(progress bar, acoustic feedback, nothing, etc.)