get_game_ids | R Documentation |
Scrapes the season schedule for desired team. Team is assumed to be the ESPN team name, which can be looked up in the ids dataframe.
get_game_ids(team, season)
team |
(str) Team to get Play-by-Play data for |
season |
(str) or (int) Season for which to get schedule. In form "2019-20" or "2020". Single number is season of tournament. |
Requires use of ESPN oriented team names, found in locally saved file (ids.csv)
A data frame of the team's gameIds data for the specified season.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.