botor (version 0.2.0)

s3_exists: 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

Run this code
# NOT RUN {
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