load_sea_bulk: Read & Load all SEA csv files in a directory

View source: R/load-sea-bulk.R

load_sea_bulkR Documentation

Read & Load all SEA csv files in a directory

Description

Wrapper function around load_sea_file() to read & parse all SEA csv files in a directory.

Usage

load_sea_bulk(
  path = ".",
  verbose = TRUE,
  recursive = TRUE,
  exclude = c(),
  pattern = "",
  which_modules = ""
)

Arguments

path

a character vector of full path names; the default corresponds to the working directory, getwd(). Tilde expansion (see path.expand) is performed. Missing values will be ignored. Elements with a marked encoding will be converted to the native encoding (and if that fails, considered non-existent).

verbose

logical. Print details? Defaults to TRUE

recursive

logical. Load files in subfolders also? Defaults to TRUE

exclude

a list of patterns to exclude

pattern

an optional regular expression. Only file names which match the regular expression will be returned.

which_modules

Specify modules to process. Defaults to all modules.

Value

Returns a data.frame containing the content of every file in the specified path.


josegallegos07/aceR documentation built on June 27, 2022, 10:25 a.m.