I'm new to R and brand new to the Rstudio community. I'm working with a dataset for a request process and one of the variables is the name of the requestor. I want to run some basic descriptive stats on the dataset. Problem is, the names of the requestors have been input very inconsistently. I see variations similar to what's below but with many different names.
Is there a way to consolidate the different versions of these names into one unique name per person (John Doe and Jane Jones)? I have many different names in the dataset, but it seems like there are a limited number of different structures (Doe, John vs. John Doe).