s3_bucket: Connect to an AWS S3 bucket

View source: R/filesystem.R

s3_bucketR Documentation

Connect to an AWS S3 bucket

Description

s3_bucket() is a convenience function to create an S3FileSystem object that automatically detects the bucket's AWS region and holding onto the its relative path.

Usage

s3_bucket(bucket, ...)

Arguments

bucket

string S3 bucket name or path

...

Additional connection options, passed to S3FileSystem$create()

Value

A SubTreeFileSystem containing an S3FileSystem and the bucket's relative path. Note that this function's success does not guarantee that you are authorized to access the bucket's contents.

Examples


bucket <- s3_bucket("voltrondata-labs-datasets")


arrow documentation built on Nov. 25, 2023, 1:09 a.m.