Looks up the single best-matching name usage for a scientific name in a
dataset, defaulting to the latest monthly extended Catalogue of Life release
("3LXR"). This is the Catalogue of Life analogue of GBIF's name backbone
matching.
Usage
clb_match(
name,
authorship = NULL,
rank = NULL,
code = NULL,
dataset = "3LXR",
server = NULL,
.raw = FALSE
)Arguments
- name
Scientific name to match. May include the authorship, or supply it separately via
authorship.Optional authorship string.
- rank
Optional rank to disambiguate (e.g.
"species","genus").- code
Optional nomenclatural code (
"zoological","botanical","bacterial","virus", ...).- dataset
Dataset key or alias to match against. Defaults to
"3LXR". Seeclb_col_release()for the COL release aliases.- server
Optional base URL of an alternative matching service, e.g. a locally running dockerized matching container (
"http://localhost:8080"). OverridesCLB_BASE_URLfor this call.- .raw
Return the raw parsed JSON response instead of a tibble?
Value
A one-row tibble with the match outcome
(match, match_type), the matched usage (usage_id, name,
authorship, rank, status, ...) and a classification list-column.
When nothing matches, match is FALSE and the usage columns are NA.