Upload a local directory to the Azure storage the datastore points to.

upload_to_datastore(
  datastore,
  src_dir,
  target_path = NULL,
  overwrite = FALSE,
  show_progress = TRUE
)

Arguments

datastore

The AzureBlobDatastore or AzureFileDatastore object.

src_dir

A string of the local directory to upload.

target_path

A string of the location in the blob container or file share to upload the data to. Defaults to NULL, in which case the data is uploaded to the root.

overwrite

If TRUE, overwrites any existing data at target_path.

show_progress

If TRUE, show progress of upload in the console.

Value

The DataReference object for the target path uploaded.