parse_suffix | R Documentation |
Parse and Split Suffix from Last Name
parse_suffix(df, ln_col, sfx_col = "suffix")
df |
data.frame: containing a last name column |
ln_col |
character: column name containing last name |
sfx_col |
character: column name to contain suffix |
df <- data.frame(ln = c("JONES","WILLIAM III","RAFERTY SMITH","O CONNELL","HANSEN JR"),
fn = c("TOM","CLARENCE","RAFFIE","DONAL","CHUCKY"))
df %>% parse_suffix(ln_col = "ln")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.