I have a liste of french names with some small syntaxic differences.
names <- c("Benoit", "Arnoud (son)", "Arnoud", "Arnous", "Archer, Patrice*", "Archer", "Archer (father)", "André" )
"Arnoud (son)", "Arnoud", "Arnous" all these names belong to the same family. I would like to be able to create a dataframe object to group individuals by family
people1 |people2 |people3 |people4|
"Benoit" | NA |NA |NA
"Arnoud (son)", |"Arnoud"|"Arnous" | NA
"Archer, Patrice*"|"Archer"| "Archer"|"Archer (father)"
"André" | NA | NA |NA