You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running the following code and got a ridiculous amount of errors and warnings. I cannot pull data from any years prior to the 2016-17 season for some reason, and I'm not sure what the problem is
> bref_players_stats(seasons = 2001:2005)
Error in `mutate()`:
ℹ In argument: `yearSeason = slugSeason %>% substr(1, 4) %>% as.numeric() + 1`.
Caused by error in `substr()`:
! object 'slugSeason' not found
Run `rlang::last_trace()` to see where the error occurred.
Warning messages:
1: In for (t in seq_along(app$themes)) { :
closing unused connection 13 (http://www.basketball-reference.com/leagues/NBA_2005_totals.html)
2: In for (t in seq_along(app$themes)) { :
closing unused connection 12 (http://www.basketball-reference.com/leagues/NBA_2004_totals.html)
3: In for (t in seq_along(app$themes)) { :
closing unused connection 10 (http://www.basketball-reference.com/leagues/NBA_2003_totals.html)
4: In for (t in seq_along(app$themes)) { :
closing unused connection 9 (http://www.basketball-reference.com/leagues/NBA_2002_totals.html)
5: In for (t in seq_along(app$themes)) { :
closing unused connection 8 (http://www.basketball-reference.com/leagues/NBA_2001_totals.html)
6: In for (t in seq_along(app$themes)) { :
closing unused connection 7 (http://www.basketball-reference.com/leagues/NBA_2005_advanced.html)
7: In for (t in seq_along(app$themes)) { :
closing unused connection 6 (http://www.basketball-reference.com/leagues/NBA_2004_advanced.html)
8: In for (t in seq_along(app$themes)) { :
closing unused connection 5 (http://www.basketball-reference.com/leagues/NBA_2003_advanced.html)
9: In for (t in seq_along(app$themes)) { :
closing unused connection 4 (http://www.basketball-reference.com/leagues/NBA_2002_advanced.html)
10: In for (t in seq_along(app$themes)) { :
closing unused connection 3 (http://www.basketball-reference.com/leagues/NBA_2001_advanced.html)
The text was updated successfully, but these errors were encountered:
I tried running the following code and got a ridiculous amount of errors and warnings. I cannot pull data from any years prior to the 2016-17 season for some reason, and I'm not sure what the problem is
The text was updated successfully, but these errors were encountered: