Download data from the datastore to the local file system.

download_from_datastore(
  datastore,
  target_path,
  prefix = NULL,
  overwrite = FALSE,
  show_progress = TRUE
)

Arguments

datastore

The AzureBlobDatastore or AzureFileDatastore object.

target_path

A string of the local directory to download the file to.

prefix

A string of the path to the folder in the blob container or file store to download. If NULL, will download everything in the blob container or file share

overwrite

If TRUE, overwrites any existing data at target_path.

show_progress

If TRUE, show progress of upload in the console.

Value

An integer of the number of files successfully downloaded.