aou_ls_bucket | R Documentation |
Lists all files in the bucket or files matching a certain pattern.
aou_ls_bucket(
pattern = "",
silent = FALSE,
recursive = TRUE,
bucket = getOption("aou.default.bucket"),
gsutil_args = ""
)
pattern |
Regular expression, such as "*.csv" or a single file name e.g., "mydata.csv". Default will find all files apart from notebooks (.ipynb files). |
silent |
Whether to omit the names of files found. Defaults to |
recursive |
Whether to search subdirectories. Defaults to |
bucket |
Bucket to retrieve file from. Defaults to
|
gsutil_args |
A string containing other arguments passed to |
A vector of file names
# list all files, including in subdirectories
aou_ls_bucket()
# list all csv files
aou_ls_bucket("*.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.