match_maker_full: Fuzzy Text Matching: vector

Description Usage Arguments Examples

View source: R/match_maker.R

Description

Find the best match (or no match at all) to string inputs.

Usage

1
match_maker_full(vec, matches, max_dist = 5)

Arguments

vec

A vector

matches

A vector in which to look for matches with e.

max_dist

Set maxDist to be used in stringdist::amatch

Examples

1
2
3
iris <- iris %>% tibble::as_tibble()
match_maker_full(as.character(iris$Species),
                 matches = c("Virginia", "California", "Sarasota"), max_dist = 20)

aedobbyn/dobtools documentation built on May 28, 2019, 2:33 a.m.