rl_sp_citation {rredlist} | R Documentation |
Get citations by taxon name, IUCN id, and region
Description
Get citations by taxon name, IUCN id, and region
Usage
rl_sp_citation(
name = NULL,
id = NULL,
region = NULL,
key = NULL,
parse = TRUE,
...
)
rl_sp_citation_(name = NULL, id = NULL, region = NULL, key = NULL, ...)
Arguments
name |
(character) A taxonomic name |
id |
(character) An IUCN identifier |
region |
(character) A region name, see |
key |
A IUCN API token. See |
parse |
(logical) Whether to parse to list ( |
... |
Curl options passed to |
Value
A list, with the data in the result
slot, unless using
a function with a trailing underscore, in which case json as character
string is returned.
References
API docs at https://apiv3.iucnredlist.org/api/v3/docs
Examples
## Not run:
rl_sp_citation('Balaena mysticetus')
rl_sp_citation('Balaena mysticetus', region = 'europe')
rl_sp_citation(id = 12392)
rl_sp_citation(id = 2467, region = 'europe')
rl_sp_citation(id = 2467, region = 'europe', parse = FALSE)
rl_sp_citation_(id = 2467, region = 'europe')
## End(Not run)
[Package rredlist version 0.7.1 Index]