Skip to contents

Build a wide, one-row-per-game crosswalk linking ESPN and NBA Stats game ids (NA Fox/Yahoo placeholders). Dates from both sources are reduced to the local Eastern-Time game date before joining. Note: the NBA Stats CDN serves the current season only, so the live builder is effectively current-season; historical coverage comes from cached release artifacts.

Usage

nba_schedule_crosswalk(season = most_recent_nba_season())

Arguments

season

NBA season per hoopR convention (default most_recent_nba_season()).

Value

A hoopR_data tibble, one row per game.

Examples

# \donttest{
  try(nba_schedule_crosswalk())
#>  2026-06-13 07:32:00.547367: Invalid arguments or no league standings v3 data available for 2025-26!
#>  Args: league_id = "00", season = "2025-26", season_type = "Regular Season", season_year = ""
#>  Error: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [stats.nba.com]: Operation timed out after 60002 milliseconds with 0 bytes received
#>  2026-06-13 07:33:00.587832: Invalid arguments or no league game log data for 2025-26 available!
#>  Args: counter = 0, date_from = "", date_to = "", direction = "ASC", league_id = "00", player_or_team = "T", season = "2025-26", season_type = "Regular Season", sorter = "DATE"
#>  Error: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Timeout was reached [stats.nba.com]: Operation timed out after 60002 milliseconds with 0 bytes received
#>  2026-06-13 07:33:00.599848: Invalid arguments or no team details data available!
#>  Error: argument is of length zero
#> Error in !nrow(nt) : invalid argument type
# }