getMatchups: Season Matchups

getMatchupsR Documentation

Season Matchups

Description

Season Matchups and results of a given team

Usage

getMatchups(team_code, season)

Arguments

team_code

Team code consisting 3 characters

season

Season number

Value

This function returns data.frame including columns:

  • "G" - Games

  • "Date" - Date

  • "StartTime" - Time-zone ET

  • "Opponent" - Opponent Team

  • "Result" - Game Result

  • "OT" - Over Time

  • "Tm" - Points

  • "Opp" - Opponent Points

  • "W" - Wins

  • "L" - Losses

  • "Streak" - Streaks

Author(s)

Koki Ando

See Also

https://www.basketball-reference.com/teams/

Examples

## Not run: 
 bos19 <- getMatchups(team_code = "bos", season = 2019)
 head(bos19)

## End(Not run)


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