load_ace_bulk: Read & Load all ACE csv & xls files in a directory

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

load_ace_bulkR Documentation

Read & Load all ACE csv & xls files in a directory

Description

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

Usage

load_ace_bulk(
  path = ".",
  verbose = TRUE,
  recursive = TRUE,
  exclude = c(),
  pattern = "",
  which_modules = "",
  data_type = c("explorer", "email", "pulvinar")
)

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.

data_type

character What app data export type produced this data? One of c("explorer", "email", "pulvinar"). Must be specified.

Value

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


josegallegos07/aceR documentation built on July 19, 2024, 6:32 p.m.