powered by
Lists the files stored in a Foundry Dataset.
datasets.list_files(alias, regex = ".*")
The lists of file properties.
The alias representing the Dataset.
A regex used to filter files by path.
if (FALSE) { # 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) }
Run the code above in your browser using DataLab