Return a taxonomic context given a list of taxonomic names
tnrs_infer_context(names = NULL, ...)
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.
Vector of taxon names.
additional arguments to customize the API request (see
rotl
package documentation).
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.
if (FALSE) {
res <- tnrs_infer_context(names=c("Stellula calliope", "Struthio camelus"))
}
Run the code above in your browser using DataLab