Learn R Programming

rredlist (version 1.0.0)

rl_sp_count: Get count of species in the Red List

Description

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

Usage

rl_sp_count(key = NULL, ...)

rl_sp_count_(key = NULL, ...)

Value

An integer representing the number of unique species represented within the IUCN database.

Arguments

key

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

...

Curl options passed to HttpClient

References

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

See Also

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

Examples

Run this code
if (FALSE) {
# Get count of species with assessments
rl_sp_count()
}

Run the code above in your browser using DataLab