View source: R/cleaning_names.R
check_player_names | R Documentation |
Player names can sometimes be spelled incorrectly, particularly if there are character encoding issues. This can be a particular problem when combining data from multiple files. This function checks for similar names that might possibly be multiple variants on the same name.
check_player_names(x, distance_threshold = 4)
x |
datavolley: a datavolley object as returned by |
distance_threshold |
numeric: if two names differ by an amount less than this threshold, they will be returned as possible matches |
data.frame
dv_read
, adist
## Not run:
x <- dv_read(dv_example_file(), insert_technical_timeouts = FALSE)
check_player_names(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.