powered by
This function adds to the whole data frame the advanced statistics for every player in every game.
do_add_adv_stats(df)
Data frame.
Data frame with the games and the players info.
Guillermo Vinue
The advanced statistics computed are as follows:
GameSc: Game Score.
PIE: Player Impact Estimate.
EFGPerc: Effective Field Goal Percentage.
ThreeRate: Three points attempted regarding the total field goals attempted.
FRate: Free Throws made regarding the total field goals attempted.
STL_TOV: Steal to Turnover Ratio.
AST_TOV: Assist to Turnover Ratio.
PPS: Points Per Shot.
OE: Offensive Efficiency.
EPS: Efficient Points Scored.
The detailed definition of some of these stats can be found at https://www.basketball-reference.com/about/glossary.html and https://www.nba.com/stats/help/glossary/.
do_OE, do_EPS
do_OE
do_EPS
df <- do_join_games_bio("ACB", acb_games_1718, acb_players_1718) df1 <- do_add_adv_stats(df)
Run the code above in your browser using DataLab