powered by
The Oxford Name Compression Algorithm name coding procedure
onca(word, maxCodeLen = 4)
string or vector of strings to encode
maximum length of the resulting encodings, in characters
the ONCA encoded character vector
The onca algorithm is only defined for inputs over the standard English alphabet, i.e., "A-Z." For inputs outside this range, the output is undefined.
onca
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.
word
maxCodeLen
Gill, Leicester. "OX-LINK: the Oxford medical record linkage system." (1997).
Other phonics: caverphone, cologne, lein, metaphone, mra_encode, nysiis, phonex, rogerroot, soundex, statcan
caverphone
cologne
lein
metaphone
mra_encode
nysiis
phonex
rogerroot
soundex
statcan
# NOT RUN { onca("William") onca(c("Peter", "Peady")) onca("Stevenson", maxCodeLen = 8) # }
Run the code above in your browser using DataLab