dod.download()
is mainly intended for use by other functions
in the dod
package.
Arguments
- url
character value giving the web address of a file to be downloaded. This has different values for different file types.
- file
character value giving the name to be used for the downloaded file.
- destdir
a character value indicating the directory in which to store downloaded files.
- age
a numerical value indicating a time interval, in days. If the file to be downloaded from the server already exists locally, and was created less than
age
days in the past, it will not be downloaded again. Settingage=0
(which is the default) forces a download.- silent
logical value passed to
download.file()
, which does the downloading. The default, TRUE, indicates not to show a progress indicator.- debug
an integer value indicating the level of debugging. If this exceeds 0, then some debugging messages will be printed. This value is passed down to related functions, but with 1 subtracted for each pass.