get_team_stats | R Documentation |
This function takes in pbp data and calculates team level stats
get_team_stats(play_by_play_data = NA, include_transition = F)
play_by_play_data |
data frame consisting of play-by-play data from the functions scrape_game() or get_play_by_play() |
data frame with each row representing a team
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.