Skip to contents

The top five players of a season in one stat category, for all teams or one team.

Endpoint: GET https://basket.co.il/ws/ws.asmx/LeaderByType

Usage

ibba_leaders(stat_type, season, team_id = 0)

Arguments

stat_type

(character required): Stat category code from ibba_stats_types: VAL, pts, isr_pts, plusminus, dunk, ASS, TR, [OR], DR, isr_TR, ST, [TO], ASSTO, BKF, FF, [min], p2, p3, p1, p32T, p22T, p12T, PTSMIN, TRMIN, ASSMIN.

season

(integer required): Season END year (2026 = 2025-26); sent to the host as cYear unchanged.

team_id

(integer, default 0): Team-season id to restrict the list to one team; 0 (default) for all teams.

Value

A hoopR_data tibble with these columns:

col_nametypedescription
valuedoubleThe leader's value in the requested category (per-game average, percentage or count).
gamesintegerGames the leader played.
seasonintegerSeason END year as an integer (2026 = 2025-26): the host's own cYear, no mapping.
team_idintegerTeam-season id of the leader's team.
jerseycharacterThe leader's jersey number as a zero-padded string.
player_idintegerPlayer-season id (key space: IBBA player registrations; a NEW id every season, e.g. Jaylen Hoard = 21912 in 2025-26 and 25997 in 2026-27; the ASMX host has no cross-season person id). Joins ibba_players, ibba_player, ibba_box_score and ibba_leaders; null on the team-credited and TOTAL box rows.
player_name_hecharacterPlayer name in Hebrew, HTML-unescaped.
photo_pathcharacterSite-relative path of the photo (team or player picture); prefix with https://www.basket.co.il.

Details

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

Examples

# \donttest{
  try(ibba_leaders(season = 2026, stat_type = pts))
#> Error in eval(expr, envir) : object 'pts' not found
# }