build_fuzzy_settings {fedmatch} | R Documentation |
Build settings for fuzzy matching
Description
build_fuzzy_settings
is a convenient way to build the list for the fuzzy settings argument in merge_plus
Usage
build_fuzzy_settings(
method = "jw",
p = 0.1,
maxDist = 0.05,
matchNA = FALSE,
nthread = getOption("sd_num_thread")
)
Arguments
method |
character vector of length 1. Either one of the methods listed in stringdist::amatch, or our custom method 'wgt_jaccard.' See the vignettes for more details. |
p |
numeric vector of length 1. See stringdist::amatch() |
maxDist |
numeric vector of length 1. See stringdist::amatch() |
matchNA |
whether or not to match on NAs, see |
nthread |
number of threads to use in the underlying C code. |
Value
a list containing options for the 'fuzzy_settings' argument of merge_plus
.
[Package fedmatch version 2.0.6 Index]