direct_match: Direct Match Species Names

View source: R/direct_match.R

direct_matchR Documentation

Direct Match Species Names

Description

Performs direct matching of species names against the threatened species database. Matches binomial names (genus + species), trinomial names (+ infraspecies level 1), and quaternomial names (+ infraspecies level 2) when applicable.

Usage

direct_match(df, target_df = NULL, source = "original")

Arguments

df

A tibble containing the species data to be matched.

target_df

A tibble representing the threatened species database containing the reference list of threatened species.

source

Character string specifying which database version to use. Options are:

  • "original" (default): Uses the original threatened species database

  • "updated": Uses the updated database with synonyms

Value

A tibble with an additional logical column 'direct_match' indicating whether the name was successfully matched ('TRUE') or not ('FALSE').


peruflorads43 documentation built on Nov. 24, 2025, 10:15 a.m.