Description Usage Arguments See Also Examples
Create a template table for tidying a text-column
1 2 3 4 5 6 7 | fuzzy_match(
.data,
stringvar,
threshold = options("fuzzy_threshold")[[1]],
.listpool = NULL,
...
)
|
.data |
A |
stringvar |
The name of the column to be tidy (quoted or not) |
threshold |
the minimum distance between strings considered as OK |
.listpool |
An optional list provided by |
... |
additional arguments for the function
|
1 2 3 4 | test_df <- data.frame(fruit = c("banana", "blueberry", "limon", "pinapple",
"apple", "aple", "Apple", "bonana"))
fuzzy_template <- fuzzy_match(test_df, fruit)
fuzzy_template
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.