Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tnrs_infer_context

Infer the taxonomic context from a list of names


Description

Return a taxonomic context given a list of taxonomic names

Usage

tnrs_infer_context(names = NULL, ...)

Arguments

names

Vector of taxon names.

...

additional arguments to customize the API request (see rotl package documentation).

Details

Find the least inclusive taxonomic context that includes all the unambiguous names in the input set. Unambiguous names are names with exact matches to non-homonym taxa. Ambiguous names (those without exact matches to non-homonym taxa) are indicated in results.

Value

A list including the context name, the context ott id and possibly the names in the query that have an ambiguous taxonomic meaning in the query.

Examples

## Not run: 
res <- tnrs_infer_context(names=c("Stellula calliope", "Struthio camelus"))

## End(Not run)

rotl

Interface to the 'Open Tree of Life' API

v3.0.11
BSD_2_clause + file LICENSE
Authors
Francois Michonneau [aut, cre] (<https://orcid.org/0000-0002-9092-966X>), Joseph Brown [aut] (<https://orcid.org/0000-0002-3835-8062>), David Winter [aut] (<https://orcid.org/0000-0002-6165-0029>), Scott Chamberlain [rev] (<https://orcid.org/0000-0003-1444-9135>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.