list_bucket: List buckets for cloud storage

Description Usage Arguments Value Examples

View source: R/list_bucket.R

Description

List buckets for cloud storage

Usage

1
list_bucket(data_source = flyio_get_datasource(), gcs_project = "")

Arguments

data_source

default to local. Possible options : gcs, s3, local. Case insensitive

gcs_project

Project containing buckets to list in Google Cloud Storage

Value

vector of bucket names

Examples

1
2
3
4
5
6
7
8
# No buckets if data source is local
list_bucket(data_source = "local")
## Not run: 
flyio_set_datasource("s3")
flyio_auth() # authentication needed for S3
list_bucket()

## End(Not run)

socialcopsdev/flyio documentation built on Feb. 15, 2020, 11:15 p.m.