11 Odds and ends

To be moved elsewhere in the document …

Counting the number of sets played by a team

px %>% dplyr::filter(!is.na(team)) %>% distinct(team, match_id, set_number) %>% count(team)