datasets.list_files {foundry} | R Documentation |
Lists the files stored in a Foundry Dataset.
Description
Lists the files stored in a Foundry Dataset.
Usage
datasets.list_files(alias, regex = ".*")
Arguments
alias |
The alias representing the Dataset. |
regex |
A regex used to filter files by path. |
Value
The lists of file properties.
Examples
## Not run:
# List all PDF files in a Dataset
all_files <- datasets.list_files("my_dataset", regex=".*\\.pdf")
# Get all file names
file_names <- sapply(all_files, function(x) x$path)
## End(Not run)
[Package foundry version 0.13.0 Index]