This function wraps around stringdist::stringdist().
str_dist(a, b, method = "osa", ...)R object (target); will be converted by base::as.character().
R object (source); will be converted by base::as.character().
Method for distance calculation. The default is "osa."
Other arguments passed to stringdist::stringdist().
The distance between string a and string b.
str_dist(a = "BRULINGTN", b = "BURLINGTON")
#> [1] 2