Skip to contents

Idenfity S3 Object type

Usage

s3_object_type(object)

Arguments

object

S3 Object key

Value

file type: text, csv, excel, json, python, shell

Examples

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