Closed jimmyday12 closed 3 weeks ago
Hi Jimmyday12,
when I try to run x <- get_afltables_player_ids(1897:2022)
I get an error: could not find function "get_afltables_player_ids"
.
I've run it using both the CRAN version and the dev version from Github, both produce the same error.
fixed by https://github.com/jimmyday12/fitzRoy/pull/222
x <- get_afltables_player_ids(1897:2024)
x %>%
group_by(ID) %>%
summarise(ids = n_distinct(Player)) %>%
arrange(desc(ids))
# A tibble: 13,153 × 2
ID ids
<dbl> <int>
1 0 1
2 1 1
3 2 1
4 3 1
5 4 1
6 5 1
7 6 1
8 7 1
9 8 1
10 9 1
# ℹ 13,143 more rows
# ℹ Use `print(n = ...)` to see more rows
Some ID's have more than 1 player associated with them. Not exactly sure on the long term solution but here they are for now.