Skip to contents

For each name, queries the configured authority and returns the accepted name, taxonomic status, and taxon ID. Most authorities are backed by a local taxadb database; authority = "gnverifier" calls the Global Names HTTP verifier instead.

Usage

pr_lookup_authority(names, authority = "col", db_version = NULL, quiet = FALSE)

Arguments

names

Character vector of scientific names.

authority

A length-1 character vector. Authority code (e.g., "col"). Pass "gnverifier" for HTTP-backed verification against ~100 sources; see vignette("getting-started") for the trade-off.

db_version

A length-1 character vector or NULL. Ignored when authority = "gnverifier" (the GNverifier service does not expose per-snapshot versions); a non-NULL value emits a single warning.

quiet

Logical. Suppress lookup progress when TRUE. More than 500 uncached names show batch counts and an interactive progress bar. Queries run in batches of at most 1000 names; completed batches enter the cache.

Value

A tibble with columns: input, accepted_name, status, taxon_id, authority.