Helper function to return a set of file paths for use in other functions
Arguments
- data_path
character vector of either:
path(s) to the data file(s).
single path to directory containing data file(s). Currently only tabular
.csvand.tsvfiles are supported. Alternatively attributes returned usingnames()can be extracted from r object, stored as.rdsfiles.
- ...
parameters passed to
list.files(). For example, userecursive = TRUEto list files in a folder recursively or usepatternto filter files for patterns.
