View source: R/convert_tocsv.R
lr_convert_tocsv | R Documentation |
Convert spectral data files to csv files
lr_convert_tocsv(
where = NULL,
ext = "txt",
decimal = ".",
sep = NULL,
subdir = FALSE,
ignore.case = TRUE,
overwrite = FALSE,
metadata = TRUE
)
where |
Folder in which files are located (defaults to current working directory). |
ext |
File extension to be searched for, without the "." (defaults to
|
decimal |
Character to be used to identify decimal plates
(defaults to |
sep |
Column delimiting characters to be considered in addition to the default (which are: tab, space, and ";") |
subdir |
Should subdirectories within the |
ignore.case |
Should the extension search be case insensitive? (defaults
to |
overwrite |
logical. Should the function overwrite existing files with
the same name? (defaults to |
metadata |
logical (defaults to |
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.)
Convert input files to csv and invisibly return the list of created file paths
When metadata = TRUE
, if either the data or metadata export fails,
nothing will be returned for this file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.