scrapes all shot chart data from nba.com API
1 2 3 4 5 6 7 | get_shot_chart_data(player, season, season_type = "Regular%20Season",
player_position = "", context_measure = "FGA", date_from = "",
date_to = "", game_id = "", game_segment = "", last_n_games = 0,
league_id = "00", location = "", month = 0, opp_team_id = 0,
outcome = "", period = 0, position = "", rookie_year = "",
season_segment = "", team_id = 0, vs_conf = "", vs_div = "",
team = FALSE)
|
1 | get_player_shot_chart(player_name)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.