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)

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.

Value

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