list_files_in_buckets: Return a dataframe of accessable files, including full path...

Description Usage Arguments Value Examples

View source: R/aws_helper_functions.R

Description

Return a dataframe of accessable files, including full path and filesize information Note: The listing includes folders as well as files

Usage

1
2
list_files_in_buckets(bucket_filter = NULL, prefix = NULL,
  path_only = FALSE, max = NULL)

Arguments

bucket_filter

return only buckets that match this character vector of bucket names e.g. "alpha-everyone"

prefix

filter files which begin with this prefix e.g. 'my_folder/'

path_only

boolean - return the accessible paths only, as a character vector

max

An integer indicating the maximum number of keys to return. The function will recursively access the bucket in case max > 1000. Use max = Inf to retrieve all objects.

Value

data frame with path of all files available to you in S3.

Examples

1
list_files_in_buckets(bucket_filter = "alpha-everyone", prefix = "GeographicData", path_only = FALSE, max = Inf)

moj-analytical-services/s3tools documentation built on Sept. 13, 2021, 5:31 a.m.