Skip to contents

Wrapper of base::list.files for handling cloud storage

Usage

listDataFiles(path, cfg = loadConfig(), ...)

Arguments

path

a character vector of full path names; the default corresponds to the working directory, getwd().

cfg

a config object. Configuration to use. See loadConfig for details

...

Further parameters pass to base::list.files

Value

character

vector with the file names

Note

cfg <- loadConfig() listDataFiles(cfg$hydroclim$path)