espn_nba_scoreboard {hoopR}R Documentation

Get ESPN NBA schedule for a specific year

Description

Get ESPN NBA schedule for a specific year

Usage

espn_nba_scoreboard(season)

Arguments

season

Either numeric or character (YYYYMMDD)

Value

Returns a tibble with scoreboard data

col_name types
matchup character
matchup_short character
season integer
season_type integer
season_slug character
game_id integer
game_uid character
game_date Date
attendance integer
notes logical
status_name character
broadcasts logical
start_date character
geo_broadcasts logical
game_date_time POSIXct
home_team_name character
home_team_logo character
home_team_abb character
home_team_id integer
home_team_location character
home_team_full_name character
home_team_color character
home_score integer
home_win integer
home_record character
away_team_name character
away_team_logo character
away_team_abb character
away_team_id integer
away_team_location character
away_team_full_name character
away_team_color character
away_score integer
away_win integer
away_record character

See Also

Other ESPN NBA Functions: espn_nba_betting(), espn_nba_game_all(), espn_nba_game_rosters(), espn_nba_pbp(), espn_nba_player_box(), espn_nba_player_stats(), espn_nba_standings(), espn_nba_team_box(), espn_nba_team_stats(), espn_nba_teams(), espn_nba_wp()

Examples


# Get schedule from date 2022-11-17 (returns 1000 results, max allowable.)

  try(espn_nba_scoreboard(season = 20230423))


[Package hoopR version 2.1.0 Index]