Deprecated as of WildObsR 0.2.0. find_closest_match() will be removed in
a future release. The function still runs normally; it emits a warning once
per session (it is commonly passed to sapply(), so an unguarded warning
would fire once per element).
This function finds the closest match between species names provided in an unverified list and a verified species taxonomy database. It handles differences in spelling or capitalization.
Value
A data frame containing the original species names and their closest match from the verified species taxonomy database.
Details
This function internally uses sapply() to apply string distance calculations
across all species names in the string vector. The closest match for each name is determined
using the Jaro-Winkler string distance method from the stringdist package.