R/datasets.R
download_from_file_dataset.Rd
Download file streams defined by the dataset as local files. If target_path starts with a /, then it will be treated as an absolute path. If it doesn't start with a /, then it will be treated as a relative path relative to the current working directory.
download_from_file_dataset(dataset, target_path = NULL, overwrite = FALSE)
dataset | The Dataset object |
---|---|
target_path | The local directory to download the files to. If NULL, the data will be downloaded into a temporary directory. |
overwrite | Indicates whether to overwirte existing files. The default
is FALSE. Existing files will be overwritten if |
A list of file paths for each file downloaded.