top_n_matches: A function to retrieve the top n candidate matches

View source: R/fuzzy-matching.R

top_n_matchesR Documentation

A function to retrieve the top n candidate matches

Description

A function to retrieve the top n candidate matches

Usage

top_n_matches(x, candidates, n = 5)

Arguments

x

vector of strings to match against candidates

candidates

vector of strings that entries of x may match

n

number of matches to keep

Value

list of plausible matches


sakrejda/workflow documentation built on Nov. 18, 2024, 3:02 a.m.