Skip to contents

Read content of S3 Objects

Usage

s3_read_object(bucket, object, sheet = NULL, access_key, secret_key, ...)

Arguments

bucket

S3 Bucket name

object

S3 Object key (id)

sheet

S3 Excel object sheet name / index

access_key

S3 Access key id

secret_key

S3 Secret Access key

...

Additional arguments passed to s3HTTP

Value

df

Examples

if (FALSE) { # \dontrun{
s3_objects("sample-bucket") %>%
  filter(str_detect(key, "^HFR")) %>%
  pull(key) %>%
  first() %>%
  s3_read_object(bucket = "sample-bucket", object_key = .)} # }