fuzzScore: Fuzzily Score Sentences

Description Usage Arguments Examples

Description

Scores each string in df[col] by calculating string distance between it and each string in lookup. Adds the best match and score to data frame.

Usage

1
fuzzScore(df, col, lookup, verbose = FALSE)

Arguments

df

Data frame to apply to

col

Column in data frame to apply to

lookup

A character vector of strings to match against

verbose

print timing

Examples

1
2
3
mtcars$nstring <- names(mtcars)
check <- c('Porch','Auto','Hello','World')
fuzzScore(mtcars,'nstring',check) 

Peder2911/Agnus_Glare_Tool documentation built on May 17, 2019, 11:40 a.m.