Get species
Usage
rl_sp(page = 0, key = NULL, parse = TRUE, all = FALSE, quiet = FALSE, ...)
rl_sp_(page, key = NULL, all = FALSE, quiet = FALSE, ...)
Arguments
- page
(integer/numeric) Page to get. Default: 0. you can get up to 10,000 records per page. Paging is required because it's too much burden on a server to just "get all the data" in one request
- key
A IUCN API token. See
rl_use_iucn
.- parse
(logical) Whether to parse to list (
FALSE
) or data.frame (TRUE
). Default:TRUE
- all
(logical) to get all results or not. Default:
FALSE
. this means we do the paging internally for you. result is a list of results, so you have to bind them together yourself into a data.frame, see example- quiet
(logical) give progress for download or not. Default:
FALSE
(that is, give progress). ignored ifall = FALSE
- ...
Curl options passed to
HttpClient