import_batch_files: Import a batch of files

Description Usage Arguments Value

View source: R/import_batch_files.R

Description

To import one or more files into a single df object. The files should all be housed in the same directory, the path to which is supplied as the sole argument.

Usage

1
import_batch_files(p = NULL, f = NULL, ext = NULL, ...)

Arguments

p

string; the path to the directory containing desired files.

f

string; the function name used for importing files.

ext

(optional) string; the file extension to indicate type of external data file to be imported:

  • ".csv"

  • ".tsv"

  • ".xlsx"

...

(optional) additional arguments specific to f.

Value

An array with dimensions as sub-frame rows, sub-frame columns, and and sub-frame index.


mike-decarlo/caser documentation built on Sept. 23, 2019, 7:15 a.m.