getStatsPerGame: Stats Per Game for a given player

View source: R/stats.R

getStatsPerGameR Documentation

Stats Per Game for a given player

Description

Function for getting given player's stats per game

Usage

getStatsPerGame(player, season, span = 1)

Arguments

player

Player name to fetch information for

season

Season number

span

Duration of season(s). Defaults 1.

Value

This function returns data.frame including columns:

  • 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

Author(s)

Koki Ando <koki.25.ando@gmail.com>

Examples

## Not run: 
RayAllen <- getStatsPerGame(player="Ray Allen", season=2008, span=1)
head(RayAllen)

## End(Not run)


koki25ando/NBAloveR documentation built on March 21, 2022, 4:30 p.m.