check_coverage: Check whether a taxon is covered by The Taxonomicon

View source: R/distance.R

check_coverageR Documentation

Check whether a taxon is covered by The Taxonomicon

Description

Queries The Taxonomicon for a taxon name and returns a logical indicating whether the taxon was found. Useful for pre-screening a list of names before running distance computations.

Usage

check_coverage(taxa, verbose = FALSE)

Arguments

taxa

A character vector of one or more taxon names.

verbose

Logical. If TRUE, prints progress messages. Default FALSE.

Value

A named logical vector. TRUE indicates the taxon was found, FALSE indicates it was not.

Examples


check_coverage(c("Tyrannosaurus", "Velociraptor", "Fakeosaurus"))


taxodist documentation built on May 6, 2026, 1:06 a.m.