Downloads current validation, counting-method and species-group attribute
labels from the Observation.org API and stores them in a user cache.
obs_read() uses that cache when present, otherwise the copy shipped
with the package. Internet access is optional: if the request fails,
the stored copy is left unchanged.
Usage
obs_update_dictionaries(
locales = c("en", "es", "nl", "fr", "de"),
timeout = 20
)Arguments
- locales
Languages to fetch. Defaults to English, Spanish, Dutch, French and German. Any other Observation.org
Accept-Languagecode can be passed;obs_read()also fetches a missing locale on demand when you are online.- timeout
Request timeout in seconds.
Details
English, Spanish, Dutch, French and German are bundled. obs_read()
also fetches a missing locale the first time you ask for it (for
example "pt") and writes it to the same cache. Calling this function
refreshes the requested languages without dropping extra locales already
cached. See vignette("labels").