Learn R Programming

rnbn (version 1.1.2)

getTaxonomy: 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.

See Also

getFeature, getOccurrences

Examples

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

Run the code above in your browser using DataLab