Skip to contents

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 rl_use_iucn.

parse

(logical) Whether to parse to list (FALSE) or data.frame (TRUE). Default: TRUE

...

Curl options passed to HttpClient

Examples

if (FALSE) {
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')
}