matchNames: Find similar names in dictionary

Description Usage Arguments Value

Description

Function compares given name with elements of dictionary, callculates simiarity scores and returns result in data.frame format. Matching results might be optionally filtered according to threshold value

Usage

1
matchNames(names, dictionary, threshold = 0.95, return = "closest")

Arguments

names
  • name to compare against dictionary

dictionary
  • set of plausible values to chose from

threshold
  • threshold value, minimum score to filter out results with lower score

return
  • what values to return from c("closest", "all"). Return type "closest" works much faster and returns only 1 match per name with highest score.

Value

Function returns dataframe with columns Name, Dictionary, Score. Number of rows in dataframe depends on number of names and number of mathces that have a score higher than the threshold


2DegreesInvesting/pacta documentation built on June 17, 2019, 12:04 p.m.