Top five players per requested statistic (long frame, one row per statistic and leader).
Endpoint: GET https://api.data.cebl.ca/players/statistics/leaders/
Usage
cebl_player_leaders(
statistics = "POINTS,REBOUNDS,ASSISTS,TARGET_SCORES",
mode = "PER_GAME",
season = NULL,
competition = NULL,
team_id = NULL
)Arguments
- statistics
(default
"POINTS,REBOUNDS,ASSISTS,TARGET_SCORES") Comma-separated statistic names; the frame has one block per name. Names the Stats Hub sends: POINTS, REBOUNDS, ASSISTS, BLOCKS, STEALS, TARGET_SCORES, FIELD_GOAL_PERCENTAGE, THREE_POINTS_MADE, THREE_POINT_PERCENTAGE, FREE_THROW_PERCENTAGE, FOULS, TURNOVERS, MINUTES.- mode
(default
"PER_GAME") TOTALS (sums over the selected games) or PER_GAME (per-game averages); the API requires one.- season
(default
NULL) Season: the calendar year (May to August) = the sdv END year.NULL= every season combined (the Stats Hub's All-Time). An unknown year answershoopR_no_data.- competition
(default
NULL) REGULAR (regular season) or FINALS (the playoffs).NULL= both.- team_id
(default
NULL) CEBL team id (team_idin cebl_teams): limits the rows to that team; the rows echo it.
Value
A hoopR_data tibble with one row per statistic and leader.
Its columns are listed in return_columns
(subset(return_columns, fn == "cebl_player_leaders")) and in the searchable
return columns article.
Details
Source, terms of use, request pacing, seasons, ids, coverage and error classes of this family: see the notes in cebl_seasons().
cebl_player_leaders(mode = "PER_GAME", season = 2025)