listS3Objects: Pull the list(s) of objects and tags in S3

Description Usage Arguments Details Value Author(s)

View source: R/s3functions.R

Description

Pulls metadata about all files in S3 that are accessible, such as tags, name, and sizes.

Usage

1
listS3Objects(bucket, prefix = "tg")

Arguments

bucket

The name of the S3 bucket containing the data to return.

prefix

The prefix of the data being indexed by the TGR (default: "tg").

Details

Requires valid S3 credentials to be set in the environment by setCreds (now "AWS_ACCESS_KEY_ID" and "AWS_SECRET_ACCESS_KEY").

Value

Returns a long form data frame of objects in the indicated S3 bucket.

Author(s)

Amy Paguirigan


FredHutch/tgR documentation built on Oct. 5, 2021, 8:39 a.m.