Parse Human Names
human names are complex things; sometimes people have honorifics, or not. Or a single middle name, or many. Or a compound surname, or not a compound surname but 'PhD' at the end of their name, and augh.
parse_names provides a simple
function for taking consistently formatted human names and splitting them into
suffix. It is capable of dealing with compound surnames, multiple middle names,
and similar variations, and is fully vectorised.
a character vector of names to parse.
a data.frame with the columns
full_name (which contains the original name). In the
event that a name doesn't have a salutation, middle name, suffix, or so on, an NA will appear.
1 2 3 4 5