Learn R Programming

foundry (version 0.13.0)

datasets.list_files: Lists the files stored in a Foundry Dataset.

Description

Lists the files stored in a Foundry Dataset.

Usage

datasets.list_files(alias, regex = ".*")

Value

The lists of file properties.

Arguments

alias

The alias representing the Dataset.

regex

A regex used to filter files by path.

Examples

Run this code
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