Takes a list of match objects from TBA's API and returns them as a tidy tibble.
Arguments
- raw
list of match objects from TBA API as read by tba_readR
- alliances
(boolean) unpack the alliances?
- breakdown
(boolean) unpack the score breakdown?
- unplayed
(boolean) include matches with scores of -1 (indicating that the match has not been played?)
- sort
(boolean) if TRUE, will sort the output matches by competition level and match number.
Examples
tidy_matches(read_event_matches("2016mrcmp"), alliances = TRUE,
breakdown = TRUE)
#> Error in tidy_matches(read_event_matches("2016mrcmp"), alliances = TRUE, breakdown = TRUE): could not find function "tidy_matches"