datasets.list_files {foundry} | R Documentation |
Lists the files stored in a Foundry Dataset.
datasets.list_files(alias, regex = ".*")
alias |
The alias representing the Dataset. |
regex |
A regex used to filter files by path. |
The lists of file properties.
## 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)