s3_exists: Checks if an object exists in S3

View source: R/s3.R

s3_existsR Documentation

Checks if an object exists in S3

Description

Checks if an object exists in S3

Usage

s3_exists(uri)

Arguments

uri

string, URI of an S3 object, should start with s3://, then bucket name and object key

Value

boolean

Examples

## Not run: 
s3_exists('s3://botor/example-data/mtcars.csv')
s3_exists('s3://botor/example-data/UNDEFINED.CSVLX')

## End(Not run)

botor documentation built on March 31, 2023, 9:53 p.m.