cloud_s3_ls returns a dataframe of contents of an S3 folder.
This dataframe has name and type columns. name may be either full
names or short names (depending on full_names parameter of cloud_s3_ls),
but names(name) will always contain full names. This function:
filters out folders
extracts names(name) into path column.
informs about the size of files that are to be downloaded/read and asks for confirmation
cloud_s3_prep_bulk(
content,
what = c("read", "upload", "download"),
safe_size = 5e+07,
quiet = FALSE
)Transformed content dataframe.
(data.frame) Output of cloud_s3_ls()
What will be done with content, either "read" or "download". This affects only how messages will look.
What is considered to be safe size in bytes to download in bulk. To show additional caution message in case if you accidentally run bulk reading on a folder with gigabytes of data.
All caution messages may be turned off by setting this parameter
to TRUE.