Closed insightlane closed 5 years ago
Hmmm thanks for digging into this. I thought I had found all of these but obviously not. I'll keep you posted
Fixed in latest commit ab2ad3c - now return the first instance of a players name even if it changes in the dataset
There are five player IDs that are coming through on get_afltables_stats with two versions of names (e.g. Patrick Ryder/Paddy Ryder):
Brief description of the problem
`n_afltables_data <- get_afltables_stats(start_date = "1897-05-07", end_date = Sys.Date())
n_afltables_data %>% distinct(ID, First.name, Surname) %>% group_by(ID) %>% mutate(count_names = n()) %>% filter(count_names > 1)`
`# A tibble: 10 x 4
Groups: ID [5]
First.name Surname ID count_names