View source: R/download_deposit.R
download_deposit | R Documentation |
Download files from a Zenodo deposit
download_deposit(list_deposit, file_name = NULL, dest, quiet = FALSE)
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. |
No return value. The function downloads files to the specified destination.
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"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.