customize_msf_pbp | R Documentation |
Used internally by process_msf_pbp()
customize_msf_pbp(plays, team_id, opponent_id, loc)
plays |
a raw data.frame from msf play-by-play data |
team_id |
id of the reference team |
opponent_id |
id of the opponent team |
loc |
either 'home' or 'away' indicating the location from the perspective of the reference team |
a data.frame with customized pbp data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.