Skip to contents

gs_bucket() is a convenience function to create an GcsFileSystem object that holds onto its relative path

Usage

gs_bucket(bucket, ...)

Arguments

bucket

string GCS bucket name or path

...

Additional connection options, passed to GcsFileSystem$create()

Value

A SubTreeFileSystem containing an GcsFileSystem 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

if (FALSE) {
bucket <- gs_bucket("voltrondata-labs-datasets")
}