The Lein name coding procedure.
lein(word, maxCodeLen = 4)
string or vector of strings to encode
maximum length of the resulting encodings, in characters
the Lein encoded character vector
The variable word
is the name to be encoded. The variable
maxCodeLen
is the limit on how long the returned name code
should be. The default is 4.
Billy T. Lynch and William L. Arends. "Selection of surname coding procedure for the SRS record linkage system." United States Department of Agriculture, Sample Survey Research Branch, Research Division, Washington, 1977.
Other phonics: caverphone
,
cologne
, metaphone
,
mra_encode
, nysiis
,
rogerroot
, soundex
,
statcan
# NOT RUN {
lein("William")
lein(c("Peter", "Peady"))
lein("Stevenson", maxCodeLen = 8)
# }
Run the code above in your browser using DataLab