download_deposit {zendown} | R Documentation |
Download files from a Zenodo deposit
Description
Download files from a Zenodo deposit
Usage
download_deposit(list_deposit, file_name = NULL, dest, quiet = FALSE)
Arguments
list_deposit |
data.frame or tibble. Obtained with list_deposit. |
file_name |
character. If |
dest |
character. Destination folder. |
quiet |
logical. Show download info and progress bar. |
Value
No return value. The function downloads files to the specified destination.
Examples
res <- list_deposit(deposit_id = 10959197)
temp_dir <- tempdir()
download_deposit(list_deposit = res, dest = temp_dir, quiet = FALSE)
file.exists(file.path(temp_dir, "iris.rds"))
file.exists(file.path(temp_dir, "mtcars.rds"))
[Package zendown version 0.1.0 Index]