powered by
Function for getting given player's stats per game
getStatsPerGame(player, season, span = 1)
Player name to fetch information for
Season number
Duration of season(s). Defaults 1.
This function returns data.frame including columns:
data.frame
G
Date
Age
Tm
Home
Opp
GS
MP
FG
FGA
FGP
3PM
3PA
3PP
FT
FTA
FTP
ORB
DRB
TRB
AST
STL
BLK
TOV
PF
PTS
GmSc
# NOT RUN { RayAllen <- getStatsPerGame(player="Ray Allen", season=2008, span=1) head(RayAllen) # } # NOT RUN { # }
Run the code above in your browser using DataLab