botor (version 0.4.0)

s3_exists: Checks if an object exists in S3

Description

Checks if an object exists in S3

Usage

s3_exists(uri)

Value

boolean

Arguments

uri

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

Examples

Run this code
if (FALSE) {
s3_exists('s3://botor/example-data/mtcars.csv')
s3_exists('s3://botor/example-data/UNDEFINED.CSVLX')
}

Run the code above in your browser using DataLab