rogerroot: Roger Root Name Coding Procedure

Description Usage Arguments Details Value References See Also Examples

View source: R/rogerroot.R

Description

Provides the Roger Root name coding system

Usage

1
rogerroot(word, maxCodeLen = 5)

Arguments

word

string or vector of strings to encode

maxCodeLen

maximum length of the resulting encodings, in characters

Details

The rogerroot function phentically encodes the given string using the Roger Root algorithm. The variable word is a string or vector of strings to encode.

The variable maxCodeLen is the limit on how long the returned code should be. The default is 5.

Value

the Roger Root encoded character vector

References

Robert L. Taft, Name search techniques, Bureau of Systems Development, Albany, New York, 1970.

See Also

Other phonics: caverphone, cologne, lein, metaphone, mra_encode, nysiis, onca, phonex, soundex, statcan

Examples

1
2
3
rogerroot("William")
rogerroot(c("Peter", "Peady"))
rogerroot("Stevenson")

phonics documentation built on Feb. 14, 2018, 1:01 a.m.