View source: R/nbagl_standings.R
| nbagl_standings | R Documentation |
Retrieves G-League standings via the NBA Stats API standings endpoint.
nbagl_standings(
league_id = "20",
season = year_to_season(most_recent_nba_season() - 1),
season_type = "Regular Season",
season_year = "",
...
)
league_id |
League - default: '20' (G-League). |
season |
Season - format 2020-21. |
season_type |
Season Type - Regular Season, Playoffs, All-Star. |
season_year |
Season year filter (optional). |
... |
Additional arguments passed to an underlying function like httr. |
nbagl_standings(season = most_recent_nba_season() - 1)
Returns a named list of data frames: Standings
Standings
| col_name | types | description |
| LeagueID | character | |
| SeasonID | character | |
| TeamID | character | Teamid. |
| TeamCity | character | Teamcity. |
| TeamName | character | Teamname. |
| TeamSlug | character | |
| Conference | character | Conference. |
| ConferenceRecord | character | |
| PlayoffRank | character | |
| Division | character | Team division. |
| WINS | character | Total wins. |
| LOSSES | character | Total losses. |
| WinPCT | character | |
| LeagueRank | character | |
| Record | character | Record string (e.g. '12-4'). |
| HOME | character | Home. |
| ROAD | character | Road. |
| CurrentStreak | character | |
| strCurrentStreak | character | |
| ConferenceGamesBack | character | |
| DivisionGamesBack | character | |
| LeagueGamesBack | character | |
| ClinchedPostSeason | character | |
| NEUTRAL | character | |
Billy Fryer
Other NBA G-League Functions:
nbagl_live_boxscore(),
nbagl_live_pbp(),
nbagl_pbp(),
nbagl_players(),
nbagl_schedule()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.