soundex_code: Calculate the Soundex code

Description Usage Arguments Details Value Author(s) Examples

View source: R/soundex.R

Description

Calculate the Soundex code for a string

Usage

1
soundex_code(string, algorithm = soundex_algorithm("en"))

Arguments

string

a string or an array of strings for calculating the code

algorithm

object with the soundex algorithm

Details

Soundex is a phonetic algorithm for indexing names by sound. The Soundex code for a name consists of a letter followed by three numerical digits: the letter is the first letter of the name, and the digits encode the remaining consonants. Consonants at a similar place of articulation share the same digit so.

Value

the Soundex code

Author(s)

Daniel Rodriguez Perez

Examples

1
soundex_code('Soundex')

drodriguezperez/financialsanctions documentation built on May 17, 2019, 2:42 p.m.