rl_sp_count: Get count of species in the Red List

View source: R/rl_sp_count.R

rl_sp_countR Documentation

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, ...)

Arguments

key

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

...

Curl options passed to HttpClient

Value

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

References

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

See Also

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

Examples

## Not run: 
# Get count of species with assessments
rl_sp_count()

## End(Not run)

ropensci/rredlist documentation built on Feb. 7, 2025, 1:30 a.m.