getTaxonomy: Get the taxonomical heirarchy for a given taxon

View source: R/getTaxonomy.R

getTaxonomyR Documentation

Get the taxonomical heirarchy for a given taxon

Description

Given the Taxon Version Key (a 16-character string), this function get details of the taxonomical heirarchy above the given TVK. This gives the rank, name and preferred Taxon Version Key for each level of the taxonomy

Usage

getTaxonomy(tvks = NULL, ...)

Arguments

tvks

A Taxon Version Key (TVK) which is a 16-character string ID

...

Further named parameters passed on to GET

Value

A dataframe containing the JSON object returned by the NBN Gateway.

Author(s)

Tom August, CEH tom.august@ceh.ac.uk

See Also

getFeature, getOccurrences

Examples

## Not run:  
 t <- getTaxonomy("NHMSYS0000528028") # Myotis daubentonii (Daubenton's Bat)

## End(Not run)

ropensci/rnbn documentation built on May 18, 2022, 6:42 p.m.