powered by
fuzzy partial matching between a scientific name and a list of possible matches
bestmatch(enteredName, possibleNames, maxErr = 3, trunc = TRUE)
a character string with the best match, or 'multiplePartialMatches'
Character string with name to check
Character vector of possible matches
maximum number of different bits allowed for a partial match
TRUE/FALSE. if true and no match, retry with last three letters truncated
possibleMatches=c('Viburnum edule','Viburnum acerifolia') bestmatch(enteredName='Viburnum edulus',possibleNames=possibleMatches)
Run the code above in your browser using DataLab