Skip to contents

This function gets NBA box score matchups data for the specified game_ids, returning a data frame. Creates batches of game_ids and pauses between batches to avoid timeout issues.

Usage

nba_box_scores_matchups(game_ids, batch_size = 100, pause_seconds = 15)

Arguments

game_ids

A character vector of game IDs.

batch_size

Number of requests before pausing (default: 100)

pause_seconds

Number of seconds to pause between batches (default: 15)

Value

A tibble containing combined box score matchup data for all game IDs.