load_pbp | R Documentation |
Load an archived play-by-play file if it exists, otherwise, process one and return it.
load_pbp(game_id, team = NA)
game_id |
unique id for game |
team |
any of team name, city, id or abbreviation. If NA returns a list with a pbp for each team |
when team is NA a list with both team's pbp data is returned, when a team_id is provided a data.frame of that team's pbp data is returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.