Skip to content

Commit

Permalink
Update espn_mbb_data.R
Browse files Browse the repository at this point in the history
  • Loading branch information
saiemgilani committed Apr 5, 2023
1 parent ebd2312 commit 5a65259
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/espn_mbb_data.R
Expand Up @@ -3237,6 +3237,7 @@ helper_espn_mbb_player_box <- function(resp){
)
if (boxScoreAvailable == TRUE &&
length(players_box_score_df[["statistics"]][[1]][["athletes"]][[1]]) > 1 &&
length(players_box_score_df[["statistics"]][[1]][["athletes"]][[1]][["stats"]][[1]]) > 1 &&
!is.na(valid_stats)) {
players_df <- players_box_score_df %>%
tidyr::unnest("statistics") %>%
Expand Down

0 comments on commit 5a65259

Please sign in to comment.