flyio_get_bucket: Get global bucket name for flyio

Description Usage Arguments Details Value Examples

View source: R/flyio_bucket.R

Description

Get global bucket name to be used for all the functions in flyio

Usage

1

Arguments

data_source

the data source used for I/O. Default chooses the data source set using flyio_set_datasource()

Details

if the data source is local, then an empty string is returned

Value

the string - bucket name stored

Examples

1
2
3
4
# first setting the bucket for a data source
flyio_set_bucket(bucket = "socialcops-test", data_source = "S3")
# retrieving the bucket for S3
flyio_get_bucket(data_source = "S3")

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