taxa_search: Search for traits by taxa names

View source: R/taxa_search.R

taxa_searchR Documentation

Description

Search for traits by taxa names

Usage

taxa_search(x, db, ...)

Arguments

x

(character) Taxonomic name(s) to search for

db

(character) only 'ncbi' for now - other options maybe in the future

...

Curl options passed on to GET

Value

A data.frame

Author(s)

Scott Chamberlain

Examples

# Fails fast on unsupported databases (no HTTP request)
try(taxa_search("Poa annua", db = "invalid_db"))


if (interactive()) {
  taxa_search("Poa annua", db = "ncbi")
}


traits documentation built on April 10, 2026, 5:06 p.m.