- query_taxon
a character string containing the query (e.g. species).
Scientific taxa only (max 255 characters).
- taxonomy
filter taxon concepts by taxonomy, accepts either 'CITES' or
'CMS' as its value. Default sets to 'CITES'.
- with_descendants
a logical. Should the search by name be broadened to
include higher taxa?
- language
filter languages returned for common names. Value should be a
vector of character strings including one or more country codes (two-letters
country code
ISO 3166-1 alpha-2).
Default is set to NULL
, showing all available languages.
- updated_since
a timestamp. Only entries updated after (and including)
this timestamp will be pulled.
- per_page
an integer that indicates how many objects are returned per
page for paginated responses. Default set to 500 which is the maximum.
- pages
a vector of integer that contains page numbers. Default is
set to NULL
, i.e. all pages are accessed.
- raw
a logical. Should raw data be returned?
- token
a character string containing the authentification token, see
https://api.speciesplus.net/documentation. Default is set to
NULL
and requires the environment variable SPECIESPLUS_TOKEN
to be set
directly in Renviron
. Alternatively, set_token()
can be used to set
SPECIESPLUS_TOKEN
for the current session.
- verbose
a logical. Should extra information be reported on progress?
- pause
a duration (in second) to suspend execution for (see
Sys.sleep()
). This was added cause the web API returns a 404 error too many
requests in a short time interval.
- ...
Further named parameters, see httr::GET()
.