batch_convert: Reading several MicroPEM files and saving the settings and...

View source: R/batch_convert.R

batch_convertR Documentation

Reading several MicroPEM files and saving the settings and measurement tables to csv.

Description

Reading several MicroPEM files and saving the settings and measurement tables to csv.

Usage

batch_convert(path_input, path_output = path_input)

Arguments

path_input

path to the directory with files (character)

path_output

path where the files should be created, by default equal to path_input (character).

The function saves results in the input directory as csv files with a "," as separator. One file is settings.csv with all settings, the other one is measures.csv It saves them directly for not loading all of them at the same time in the session.

Examples

## Not run: 
batch_convert(path_input = c(system.file('extdata', 'dummyCHAI.csv', package = 'micropem'),
system.file('extdata', 'dummyCHAI.csv', package = 'micropem')),
path_output = getwd())
## End(Not run)

maelle/rtimicropem documentation built on May 16, 2022, 9:34 p.m.