Skip to contents

Returns a count of the number of unique species which have assessments.

Usage

rl_sp_count(key = NULL, ...)

rl_sp_count_(key = NULL, ...)

Arguments

key

(character) An IUCN API token. See rl_use_iucn().

...

Curl options passed to HttpClient

Value

A list unless using a function with a trailing underscore, in which case json as character string is returned.

References

API docs at https://api.iucnredlist.org/.

See also

Red List information and statistics: rl_api_version(), rl_citation(), rl_version()

Examples

if (FALSE) { # \dontrun{
# Get count of species with assessments
rl_sp_count()
} # }