View source: R/download_data.R
spod_multi_download_with_progress | R Documentation |
Download multiple files with a progress bar. Retries failed downloads up to 3 times.
spod_multi_download_with_progress(
files_to_download,
chunk_size = 1024 * 1024,
bar_width = 20,
show_progress = interactive() && !isTRUE(getOption("knitr.in.progress"))
)
files_to_download |
A data frame with columns |
chunk_size |
Number of bytes to download at a time. |
bar_width |
Width of the progress bar. |
show_progress |
Whether to show the progress bar. |
A data frame with columns target_url
, local_path
, file_size_bytes
and local_file_size
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.