getPbpStats | R Documentation |
getPbpStats
returns boxscore team statistics from play-by-play data.
getPbpStats(pbp)
pbp |
A play-by-play data frame |
A data frame with 2 rows per game and 25 variables: @return A data frame with 4 rows per game and 28 variables:
Starting year of the season
Game code
Team code.
Whether the team was playing at home or not
2PA
2PM
2P%
3PA
3PM
3P%
FGA
FGM
FG%
FTA
FTM
FT%
ORB
DRB
TOV
AST
STL
Comitted personal fouls
BLK
PTS
Possessions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.