rm_diacretics | R Documentation |
rm_diacretics
replaces letters with diacretics (like "é") with letters without diacretics (like "e"). iconv(..., to = ASCII//TRANSLIT)
might also work, but fails for me sometimes.
rm_diacretics(strings)
strings |
string containing names, seperated by spaces or periods (or both). Vectorised. |
Removing diacretics might be useful if they are being used inconsistently in the data being linked. Differences in diacretics count in the calculation of string distances.
The list of diacretics is currently far from complete, only what I encountered in the baptism and marriage records I looked at.
Initials in the form JF, so no spaces and no periods.
rm_diacretics(strings = "éå")
iconv("éå", "UTF-8", "ASCII//TRANSLIT") # bit unpredicatble for me
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.