Description Usage Arguments Value
General function for downloading and caching a dataset. This is called
by e.g. dc.argo()
and the other functions in the dc
package.
1 2 3 4 5 6 7 8 9 10 11 |
url |
character value giving the full URL of a file to be downloaded. This is
constructed by specialized functions, e.g. |
destdir |
character value indicating the directory in which to store
downloaded files. The default value of |
destfile |
character value indicating the name of the file. If not supplied, then the file name is constructed from the other parameters of the function call, so that subsequent calls with the same parameters will yield the same result; this is useful for caching. |
mode |
character value passed to |
quiet |
logical value, passed to |
force |
A logical value that indicates whether to force the download,
even if the pathname constructed from |
dryrun |
A logical value that indicates whether to return the constructed web query, without attempting to download the file. This can be helpful in designing responses to changing URLs. |
ntrials |
integer controlling the number of times to attempt
to download the file. The default value, |
debug |
an integer specifying whether debugging information is
to be printed during processing. The printing is done by
a call to |
String indicating the full pathname to the downloaded file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.