Retrieves G-League player index data via the NBA Stats API player index endpoint.
Usage
nbagl_players(
college = "",
country = "",
draft_pick = "",
draft_round = "",
draft_year = "",
height = "",
historical = 1,
league_id = "20",
player_position = "",
season = year_to_season(most_recent_nba_season() - 1),
season_type = "Regular Season",
team_id = "0",
weight = "",
active = "",
all_star = "",
...
)Arguments
- college
College filter.
- country
Country filter.
- draft_pick
Draft pick filter.
- draft_round
Draft round filter.
- draft_year
Draft year filter.
- height
Height filter.
- historical
Historical flag.
- league_id
League - default: '20' (G-League).
- player_position
Player position filter.
- season
Season - format 2020-21.
- season_type
Season Type - Regular Season, Playoffs, All-Star.
- team_id
Team ID filter.
- weight
Weight filter.
- active
Active status filter.
- all_star
All-Star filter.
- ...
Additional arguments passed to an underlying function like httr.
Value
Returns a named list of data frames: PlayerIndex
PlayerIndex
| col_name | types |
| PERSON_ID | character |
| PLAYER_LAST_NAME | character |
| PLAYER_FIRST_NAME | character |
| PLAYER_SLUG | character |
| TEAM_ID | character |
| TEAM_SLUG | character |
| TEAM_CITY | character |
| TEAM_NAME | character |
| TEAM_ABBREVIATION | character |
| JERSEY_NUMBER | character |
| POSITION | character |
| HEIGHT | character |
| WEIGHT | character |
| COLLEGE | character |
| COUNTRY | character |
| DRAFT_YEAR | character |
| DRAFT_ROUND | character |
| DRAFT_NUMBER | character |
| ROSTER_STATUS | character |
See also
Other NBA G-League Functions:
nbagl_live_boxscore(),
nbagl_live_pbp(),
nbagl_pbp(),
nbagl_schedule(),
nbagl_standings()
