direct_match: Direct Match

View source: R/direct_match.R

direct_matchR Documentation

Direct Match

Description

This function performs a direct match of species names. It matches the genus and species if the name is binomial, and matches the genus, species, and infra species if the name includes a subspecies.

Usage

direct_match(df, target_df = NULL)

Arguments

df

A tibble containing the species data to be matched.

target_df

A tibble representing the ppendemic database containing the reference list of endemic species.

Value

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


PaulESantos/ppendemic documentation built on July 16, 2024, 12:32 p.m.