2023-24 Rosters
Closed this issue · 4 comments
vigslayer commented
Been consistently getting these errors when trying to pull rosters this year. Is this an issue on ESPN's side?
"Unable to get roster. ESPN is updating CBB files. Check back again soon."
Full code below. Not an urgent issue at all since I can get roster info from boxscores but this would help double check things.
Thanks!
Mike
lbenz730 commented
Should be working fine in latest version of the package. Just make sure you have that installed.
vigslayer commented
lbenz730 commented
Ah i see the issue. ids[team_i, 1]
is a df not a charafter. Do it like this
library(ncaahoopR)
loopmatrix <- 1:nrow(ids)
for(team_i in loopmatrix) {
team_roster <- get_roster(ids$team[team_i], '2023-24')
...
}
vigslayer commented
That fixed the issue. Weird that my code worked for old seasons but not 2023. Thanks Luke!