Description Usage Arguments Value Examples
View source: R/get_player_data.R
This function retrieves data for one specific NBA player
1 | get_player_data(slug)
|
slug |
The slug for the player you're interested in. This
can be found using the |
A data.frame with data from one player.
The columns include:
Player name
What season is this data from?
Age of player in season
League, e.g. NBA, ABA
Position played
Number of games played
Number of games as starter
Minutes played per game
Field goals per game
Field goal attempts per game
Field goal percentage
3-point field goals per game
3-point attempts per game
3-point field goal percentage
2-point field goals per game
2-point attempts per game
2-point field goal percentage
Effective field goal percentage
Free throws per game
Free throw attempts per game
Free throw percentage
Offensive rebounds per game
Defensive rebounds per game
Total rebounds per game
Assists per game
Steals per game
Blocks per game
Turnovers per game
Personal fouls per game
Points per game
1 2 | abdelnaby_d <- get_player_data('abdelal01')
jordan_d <- get_player_data('jordami01')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.