Skip to contents

Current standings of the active season (no parameter): record, games behind, streaks, splits.

Endpoint: GET https://api.kbl.or.kr/league/rank/team

Usage

kbl_current_standings()

Value

A hoopR_data tibble: Current standings of the active season (no parameter): record, games behind, streaks, splits. The columns are always these, in this order (sportsdataverse-py kbl_current_standings); an empty valid answer raises hoopR_no_data, a valid body with no rows for this frame is a zero-row tibble:

col_nametypedescription
rankintegerStanding (1 = first).
team_codecharacterKBL team code (2-digit string, e.g. '50' = Changwon LG). Joins to /common/teamList teamCode, game tcodeH/tcodeA, t in text-cast. Not stable across ownership changes: the Anyang club is '40' (SBS) in 1997-98 and '70' today. D-League sides have their own codes (teamCodeD).
team_namecharacterTeam short name (Korean, e.g. Changwon LG), as it was at the time. English names: /common/teamList teamNameEn / teamNameFullEn, joined on the team code.
team_name_fullcharacterTeam full name (Korean, e.g. Changwon LG Sakers).
winsintegerWins (a count on this route; on /league/rank/{glkey} win is a boolean about the latest game).
lossesintegerLosses (a count on this route).
drawsintegerDraws (always 0 in basketball).
win_diffdoubleGames behind the leader.
home_winsintegerWins in the team's home games.
home_lossesintegerLosses in the team's home games.
away_winsintegerWins in the team's away games.
away_lossesintegerLosses in the team's away games.
conti_winintegerCurrent winning streak (0 when the last game was a loss).
conti_lossintegerCurrent losing streak (0 when the last game was a win).
max_winintegerLongest winning streak of the season.
max_lossintegerLongest losing streak of the season.
last_fivecharacterThe last five results as a comma-separated string, most recent first: 1 win, 0 loss.

Details

Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in kbl_seasons().