taxize (version 0.1.5)

tp_classification: Return all synonyms for a taxon name with a given id.

Description

Return all synonyms for a taxon name with a given id.

Usage

tp_classification(id = NULL, key = NULL,
    callopts = list())

Arguments

id
A Tropicos name ID
key
Your Tropicos API key; loads from .Rprofile.
callopts
Further args passed on to httr::GET

Value

  • A data.frame giving the hierarchy.

References

http://services.tropicos.org/help?method=GetNameHigherTaxaXml

Examples

Run this code
tp_classification(id = 25509881)
tp_classification(id = c(25509881,2700851))
tp_classification(id = c(25509881,2700851), callopts=verbose())

Run the code above in your browser using DataCamp Workspace