Downloads specified version of the Portal data.
Usage
download_observations(
path = get_default_data_path(),
version = "latest",
source = "github",
quiet = FALSE,
verbose = FALSE,
pause = 30,
timeout = getOption("timeout"),
force = FALSE
)
Arguments
- path
character
Folder into which data will be downloaded.- version
character
Version of the data to download (default = "latest"). IfNULL
, returns.- source
character
indicator of the source for the download. Either"github"
(default) or"zenodo"
.- quiet
logical
whether to download data silently.- verbose
logical
whether to provide details of downloading.- pause
Positive
integer
or integernumeric
seconds for pausing during steps around unzipping that require time delayment.- timeout
Positive
integer
or integernumeric
seconds for timeout on downloads. Temporarily overrides the"timeout"
option inoptions
.- force
logical
indicator of whether or not existing files or folders (such as the archive) should be over-written if an up-to-date copy exists (most users should leave asFALSE
).