Description Usage Arguments Value
A typical use case is aligning merge keys when key variables may be fuzzy (e.g., merging pagePath to productName).
1 | closestMatch(x, y, collapse = " // ", ignore.case = T)
|
x, y |
Character vectors whose non-identical elements will be compared for closest matches in the other vector. |
collapse |
String used to separate multiple closest-match key values in the case of ties. |
ignore.case |
Logical, if |
Dataframe listing the closest matches (and corresponding edit distance) for all non-identical elements in x
and y
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.