GetGameLog: Get game logs.

Description Usage Arguments Value Examples

Description

Get game logs.

Usage

1
2
GetGameLog(player, team, year = CurrentYear(), measure.type = "Basic",
  season.type = "Regular Season", ids = NA, source = "NBA")

Arguments

player

NBA player (e.g. "James Harden")

team

NBA team (e.g. "Houston Rockets")

year

NBA season (e.g. 2008 for the 2007-08 season)

measure.type

'Basic', or 'Advanced'

season.type

either 'Preseason', 'Regular Season', or 'Playoffs'

ids

dataframe with player or team ids

source

'NBA' or 'Basketball-Reference'

Value

data frame with player's or team's stats by game

Examples

1
GetGameLog('James Harden', 2015)

ccagrawal/sportsTools documentation built on May 13, 2019, 2:15 p.m.