Last chance! 50% off unlimited learning
Sale ends in
match() function with extended functionality
match(x, from, to, filter_from = NULL, filter_to = NULL,
data = parent.frame(), fuzzy_level = 0, table = FALSE,
na_rm = FALSE, warn = !table && fuzzy_level > 0)
Mapped values
Vector of identifiers that should be mapped
Vector of identifiers that can be mapped
Matched mapping for all identifiers
Restrict matching to a subset from `from`
Restrict matching to a subset from `to`
List containing the data `from` and `to` reference
0 for exact, 1 punctuation, and 2 closest character
Return a matching table instead of just the matches
Flag to remove items that can not be mapped
Display warning for all fuzzy matches