Skip to contents

Get plant species growth forms by taxon name, IUCN id, and region

Usage

rl_growth_forms(
  name = NULL,
  id = NULL,
  region = NULL,
  key = NULL,
  parse = TRUE,
  ...
)

rl_growth_forms_(name = NULL, id = NULL, region = NULL, key = NULL, ...)

Arguments

name

(character) A taxonomic name

id

(character) An IUCN identifier

region

(character) A region name, see rl_regions for acceptable region identifiers (use the entries in the identifier column)

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

if (FALSE) {
rl_growth_forms('Quercus robur')
rl_growth_forms('Quercus robur', region = 'europe')
rl_growth_forms(id = 63532)
rl_growth_forms(id = 63532, region = 'europe')

rl_growth_forms('Mucuna bracteata')
rl_growth_forms('Abarema villifera')
rl_growth_forms('Adansonia perrieri')
rl_growth_forms('Adenostemma harlingii')

rl_growth_forms_('Quercus robur')
rl_growth_forms_(id = 63532, region = 'europe')
}