This function gets FanDuel data for a vector of game IDs and returns a combined tibble.
Creates batches of game_ids
and pauses between batches to avoid timeout issues.
Usage
nba_fanduel(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 FanDuel data for all game IDs.