import_batch_files: Import a batch of files

View source: R/import_batch_files.R

import_batch_filesR Documentation

Import a batch of files

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

import_batch_files(.path = NULL, .fun = NULL, .ext = NULL, ...)

Arguments

.path

string; the path to the directory containing desired files.

.fun

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 March 14, 2023, 9:54 a.m.