Learn R Programming

NBAloveR (version 0.1.3.3)

getStatsSummary: Career Stats Summary

Description

Career stats summary of a given player

Usage

getStatsSummary(player)

Arguments

player

Player name

Value

This function returns data.frame including columns:

  • Season

  • Age

  • Tm

  • Lg

  • Pos

  • G

  • GS

  • MP

  • FG

  • FG

  • 3P

  • 3PA

  • 3P

  • 2P

  • 2PA

  • 2P

  • eFG

  • FT

  • FTA

  • FT

  • ORB

  • DRB

  • TRB

  • AST

  • STL

  • BLK

  • TOV

  • PF

  • PTS

See Also

https://www.basketball-reference.com

Examples

Run this code
# NOT RUN {
 kobe_summary  = getStatsSummary(player = "Kobe Bryant")
 head(kobe_summary)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab