get_pbp | R Documentation |
Scrapes the current season's Play-by-Play data for desired team. Team is assumed to be the ESPN team name, which can be looked up in the ids dataframe.
get_pbp(team, season = current_season, extra_parse = T)
team |
Team to get Play-by-Play data for |
season |
Season for which to get schedule. In form "2019-20". Default equals current season. |
extra_parse |
Logical whether to link shot variables and possesion parsing (Default = TRUE). |
A data frame of the team's Play-by-Play data for the specified season.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.