loaddir: Load contents of directory (from multiple files of different...

Description Usage Arguments

View source: R/files.R

Description

Scans a directory and loads data from all files, using an appropriate loader for each file extension type.

Usage

1
2
3
4
5
6
7
loaddir(
  dirpath,
  extensions = c("Rda", "txt", "txt.gz", "json", "json.gz", "tsv", "tsv.gz", "csv",
    "csv.gz"),
  verbose = FALSE,
  ...
)

Arguments

dirpath

path for input directory

extensions

vector of extensions to try to load

verbose

logical, prints filenames as it is loading them

...

other parameters passed on to rtht


tkonopka/shrt documentation built on March 5, 2020, 2:51 p.m.