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
bref_teams_stats() doesn't work with any combination of options. Making join_data = FALSE doesn't help. Potentially an issue with Basketball Reference changing their Season page format.
Error from using example:
brTeam1 <- bref_teams_stats(
seasons = 2019,
return_message = TRUE,
assign_to_environment = TRUE,
nest_data = FALSE,
join_data = TRUE,
widen_data = TRUE
)
Parsing https://www.basketball-reference.com/leagues/NBA_2019.html
Error in left_join():
! Join columns in x must be present in the data.
✖ Problem with urlSeasonBREF.
Run rlang::last_trace() to see where the error occurred.
Warning messages:
1: Expected 2 pieces. Missing pieces filled with NA in 15 rows [1, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11, 12, 13, 14, 15].
2: There was 1 warning in mutate().
ℹ In argument: gamesBehind1Division = %>%(...).
Caused by warning:
! 3 parsing failures.
row col expected actual
1 -- a number —
6 -- a number —
11 -- a number —
3: Expected 2 pieces. Missing pieces filled with NA in 15 rows [1, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11, 12, 13, 14, 15].
4: There was 1 warning in mutate().
ℹ In argument: gamesBehind1Division = %>%(...).
Caused by warning:
! 3 parsing failures.
row col expected actual
1 -- a number —
6 -- a number —
11 -- a number —
5: Unknown columns: idRank
6: Unknown columns: idRank
7: Unknown columns: idRank
8: Unknown columns: idRank
9: Unknown columns: idRank
The text was updated successfully, but these errors were encountered:
bref_teams_stats() doesn't work with any combination of options. Making join_data = FALSE doesn't help. Potentially an issue with Basketball Reference changing their Season page format.
Error from using example:
Parsing https://www.basketball-reference.com/leagues/NBA_2019.html
Error in
left_join()
:! Join columns in
x
must be present in the data.✖ Problem with
urlSeasonBREF
.Run
rlang::last_trace()
to see where the error occurred.Warning messages:
1: Expected 2 pieces. Missing pieces filled with
NA
in 15 rows [1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11, 12, 13, 14, 15].
2: There was 1 warning in
mutate()
.ℹ In argument:
gamesBehind1Division =
%>%(...)
.Caused by warning:
! 3 parsing failures.
row col expected actual
1 -- a number —
6 -- a number —
11 -- a number —
3: Expected 2 pieces. Missing pieces filled with
NA
in 15 rows [1, 2, 3, 4, 5, 6, 7, 8, 9,10, 11, 12, 13, 14, 15].
4: There was 1 warning in
mutate()
.ℹ In argument:
gamesBehind1Division =
%>%(...)
.Caused by warning:
! 3 parsing failures.
row col expected actual
1 -- a number —
6 -- a number —
11 -- a number —
5: Unknown columns:
idRank
6: Unknown columns:
idRank
7: Unknown columns:
idRank
8: Unknown columns:
idRank
9: Unknown columns:
idRank
The text was updated successfully, but these errors were encountered: