gbif_version {gbifdb} | R Documentation |
Get the latest gbif version string
Description
Can also return latest locally downloaded version, or list all versions
Usage
gbif_version(
local = FALSE,
dir = gbif_dir(),
bucket = gbif_default_bucket(),
all = FALSE,
...
)
Arguments
local |
Search only local versions? logical, default |
dir |
local directory ( |
bucket |
Which remote bucket (region) should be checked |
all |
show all versions? (logical, default |
... |
additional arguments to arrow::s3_bucket |
Details
A default version can be set using option gbif_default_version
Value
latest available gbif version, string
Examples
## Latest local version available:
gbif_version(local=TRUE)
## default version
options(gbif_default_version="2021-01-01")
gbif_version()
## Latest online version available:
gbif_version()
## All online versions:
gbif_version(all=TRUE)
[Package gbifdb version 1.0.0 Index]