R: Get species by category

rl_sp_category {rredlist} | R Documentation

## Get species by category

### Description

Get species by category

### Usage

    rl_sp_category(category, key = NULL, parse = TRUE, ...)

    rl_sp_category_(category, key = NULL, parse = TRUE, ...)

### Arguments

`category` | (character) A two-letter category code. One of "DD", "LC", "NT", "VU", "EN", "CR", "EW", "EX", "LRlc", "LRnt", "LRcd"
`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`

### Examples

    ## Not run:
    rl_sp_category('VU')
    rl_sp_category('LRlc')
    rl_sp_category('EN')
    rl_sp_category('EX')
    rl_sp_category('EX', parse = FALSE)
    rl_sp_category_('EX')

    ## End(Not run)

[Package rredlist version 0.4.0 Index]