View source: R/toolManualDownload.R
toolManualDownload | R Documentation |
Support tool for the creation of download functions in cases where a fully automated data download is not an option (e.g. due to a missing API). The function can be used to print a step-by-step guide for the user how to manually retrieve the data and then asks for a (local) path where the data can be copied from.
toolManualDownload(
instructions,
intro = "Data must be downloaded manually",
request = "Enter full path to the downloaded data:"
)
instructions |
Download instructions in form of a character vector describing how to manually retrieve the data. |
intro |
Introductory sentence to be shown first. Will not show up if set to NULL. |
request |
A prompt which should show up after the instructions to ask for the local download location. |
Jan Philipp Dietrich
downloadSource
## Not run:
toolManualDownload(c("Log into website ABC",
"Download the data set XYZ"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.