rl_common_names: Get common names for a given taxonomic name

View source: R/rl_common_names.R

rl_common_namesR Documentation

Get common names for a given taxonomic name

Description

Get common names for a given taxonomic name

Usage

rl_common_names(name = NULL, key = NULL, parse = TRUE, ...)

rl_common_names_(name = NULL, key = NULL, ...)

Arguments

name

(character) Binomial taxonomic name

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

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

Examples

## Not run: 
rl_common_names('Loxodonta africana')
rl_common_names_('Loxodonta africana')

## End(Not run)

ropensci/rredlist documentation built on Nov. 18, 2022, 6:03 p.m.