This function uses the generalized Levenshtein (edit) distance to identify possible issue with taxonomic names.

refdb_check_tax_typo(x, tol = 1)

Arguments

x

a reference database.

tol

the edit distance below which two taxonomic names are reported.

Value

A list of two-columns tibbles reporting for each taxonomic level the pairs of taxonomic names sharing the same upstream taxonomy and for which the generalized Levenshtein (edit) distance is below the tol value.