This downloads the latest portal data regardless if they are actually updated or not. TODO: incorporate data retriever into this when it's pointed at the github repo

download_observations(path = get_default_data_path(),
  version = "latest", from_zenodo = FALSE, quiet = FALSE)

Arguments

path

Folder into which data will be downloaded

version

Version of the data to download (default = "latest")

from_zenodo

logical; if `TRUE`, get info from Zenodo, otherwise GitHub

quiet

logical, whether to download data silently

Value

None

Examples

download_observations()
#> Downloading version 1.115.0 of the data...
#> [1] TRUE
download_observations("~/old-data", version = "1.50.0")
#> Downloading version 1.50.0 of the data...
#> Warning: path[1]="/home/travis/old-data": No such file or directory
#> [1] TRUE