fuzzy_pool: Classify strings of characters according to their similarity

Description Usage Arguments Details See Also Examples

View source: R/fuzzy_pool.R

Description

There is no need for the user to call this function directly. This function is used internally to create a list of strings of characters sorted according to their similarity.

Usage

1
fuzzy_pool(string_vec, threshold = options("fuzzy_threshold")[[1]], ...)

Arguments

string_vec

a vector of strings of characters

threshold

the minimum distance between strings considered as OK

...

additional arguments for the function stringdist()

Details

It is possible to pass to this function arguments for stringdist() to fine tune the computation of the distance between strings.

See Also

fuzzy_tidy(), stringdist()

Examples

1
2
test <- c("banana", "blueberry", "APPLE", "apple", "aple", "Apple", "bonana")
fuzzy_pool(test)

courtiol/dfuzz documentation built on Oct. 28, 2020, 6 a.m.