Description Usage Arguments Value Examples
View source: R/export_folder.R
Write a local folder to the cloud, S3 or GCS
1 2 3 | export_folder(localfolder, bucketpath, pattern = "*", overwrite = TRUE,
data_source = flyio_get_datasource(),
bucket = flyio_get_bucket(data_source), show_progress = FALSE, ...)
|
localfolder |
path of the folder in which all the files are to be uploaded |
bucketpath |
path of the folder in which the files are to be uploaded |
pattern |
pattern of the file names in the folder to be uploaded |
overwrite |
if files need to be overwritten (if already present) |
data_source |
the name of the data source, if not set globally. can be gcs or s3 |
bucket |
the name of the bucket, if not set globally |
show_progress |
logical. Shows progress of the upload operation. |
... |
other parameters for gcs/s3 upload |
the filename and path of the file in the bucket
1 2 3 4 5 6 | ## Not run:
flyio_set_datasource("gcs")
flyio_set_bucket("your-bucket-name")
export_folder("folder-local/", "folder-on-cloud/")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.