Learn R Programming

NBAloveR (version 0.1.3.3)

getTeamHistory: Franchise History Data

Description

Franchise's season data

Usage

getTeamHistory(team_code)

Arguments

team_code

Team code consisting of 3 characters to fetch information for

Value

This function returns data.frame including columns:

  • Season

  • Lg

  • Team

  • W

  • L

  • W/L

  • Finish

  • SRS

  • Pace

  • RelativePage

  • ORtg

  • RelativeORtg

  • DRtg

  • RelativeDRtg

  • Playoffs

  • Coaches

  • TopWinShare

See Also

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

Examples

Run this code
# NOT RUN {
  BostonCeltics <- getTeamHistory(team_code = "bos")
  head(BostonCeltics)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab