R: Get total species count of taxa in the Red List

rl_sp_count {rredlist} | R Documentation

## Get total species count of taxa in the Red List

### Description

Get total species count of taxa in the Red List

### Usage

    rl_sp_count(key = NULL, parse = TRUE, ...)

    rl_sp_count_(key = NULL, ...)

### Arguments

`key` | A IUCN API token. See http://apiv3.iucnredlist.org/api/v3/token to get a token
`parse` | (logical) Whether to parse to list (`FALSE`) or data.frame (`TRUE`). Default: `TRUE`
`...` | Curl options passed to `HttpClient`

### 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 http://apiv3.iucnredlist.org/api/v3/docs

### Examples

    ## Not run:
    rl_sp_count()
    rl_sp_count_()

    ## End(Not run)

[Package rredlist version 0.4.0 Index]