cleanUpNames | R Documentation |
Cleans up names of players for merging.
cleanUpNames(name)
name |
character vector of player names. |
Cleans up names of NFL Football players, including making them all-caps, removing common suffixes, punctuation, spaces, etc. This is helpful for merging multiple datasets.
Vector of cleaned player names.
oldNames <- c("Peyton Manning","Tom Brady","Marvin Harrison Jr.")
cleanNames <- cleanUpNames(oldNames)
cleanNames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.