download_data | R Documentation |
This function makes it easy to implement timestamping and no-clobber of files.
download_data(
url,
destdir = getwd(),
timestamping = TRUE,
nc = FALSE,
verbose = FALSE,
progress = FALSE
)
url |
The location of a file. |
destdir |
Where the file should be downloaded to. |
timestamping |
Should only newer files be downloaded? |
nc |
Should files of the same type not be clobbered? |
verbose |
Should cURL output be shown? |
progress |
Should a progress bar be shown with cURL output? |
If both timestamping
and nc
are TRUE, nc behavior trumps timestamping.
A character string of the file path to the downloaded file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.