read_dir: Read a directory of returns data

Description Usage Arguments Details

Description

A wrapper for the pattern:

Usage

1
read_dir(path = "../raw", f = data.table::fread, idcol = "path", ...)

Arguments

path

Path to a directory of returns.

f

A function for reading files from disk.

idcol

A name for the column in the result giving file paths.

...

Further arguments to [list.files].

Details


MEDSL/medslcleaner documentation built on May 31, 2019, 7:39 a.m.