Skip to contents

Player season averages and totals of one season and stage: shooting, rebounds, assists and fouls.

Endpoint: GET https://pleagueofficial.com/stat-player/{season slug}/{stage_sn}

Usage

pleague_stat_player(season, stage_sn)

Arguments

season

Required. Season END year (2025 = the site's slug '2024-25'). The slug is <season - 1>-<yy> (yy: the last two digits of season). The first season is 2020-21 (season=2021); earlier slugs redirect.

stage_sn

Required. Stage select value of the player table: 2 = regular season, 3 = playoffs, 4 = finals.

Value

A hoopR_data tibble: Player season averages and totals of one season and stage: shooting, rebounds, assists and fouls. An empty valid answer is a zero-row tibble with these columns, in this order (sportsdataverse-py pleague_stat_player):

col_nametypedescription
seasonintegerSeason END year (2025 = the site's slug '2024-25'): the first year of the slug plus one.
season_slugcharacterThe site's season slug as printed: the START year, then the END year's last two digits ('2024-25').
stage_snintegerStage select value: 2 = regular season, 3 = playoffs, 4 = finals (echo of the request, checked against the page's selected option).
stagecharacterStage slug: pre-season ((Chinese text), exhibition games before the season), regular-season ((Chinese text)), playoffs ((Chinese text)) or finals ((Chinese text), the championship series).
player_page_idcharacterThe 8-character page id of /player/{id} (e.g. '1JbPozLB'). The box random_id on 2022-23+ rows; NOT the box player_id.
name_zhcharacterPlayer name as printed (Traditional Chinese, or a transliteration for foreign players).
jerseycharacterShirt number as a string (the player's number in the latest game).
team_zhcharacterTeam name in Traditional Chinese as the page prints it (a traded player shows the current team).
gamesintegerGames played ((Chinese text)).
minutes_avgcharacterMinutes per game 'mm:ss' ((Chinese text)).
minutes_totalcharacterTotal minutes 'mmm:ss' ((Chinese text)).
fg2_made_avgdoublePer-game average of 2-point makes ((Chinese text)).
fg2_made_totalintegerSeason total of 2-point makes ((Chinese text)).
fg2_att_avgdoublePer-game average of 2-point attempts ((Chinese text)).
fg2_att_totalintegerSeason total of 2-point attempts ((Chinese text)).
fg3_made_avgdoublePer-game average of 3-point makes ((Chinese text)).
fg3_made_totalintegerSeason total of 3-point makes ((Chinese text)).
fg3_att_avgdoublePer-game average of 3-point attempts ((Chinese text)).
fg3_att_totalintegerSeason total of 3-point attempts ((Chinese text)).
ft_made_avgdoublePer-game average of free-throw makes ((Chinese text)).
ft_made_totalintegerSeason total of free-throw makes ((Chinese text)).
ft_att_avgdoublePer-game average of free-throw attempts ((Chinese text)).
ft_att_totalintegerSeason total of free-throw attempts ((Chinese text)).
points_avgdoublePer-game average of points ((Chinese text)).
points_totalintegerSeason total of points ((Chinese text)).
reb_off_avgdoublePer-game average of offensive rebounds ((Chinese text)).
reb_off_totalintegerSeason total of offensive rebounds ((Chinese text)).
reb_def_avgdoublePer-game average of defensive rebounds ((Chinese text)).
reb_def_totalintegerSeason total of defensive rebounds ((Chinese text)).
reb_avgdoublePer-game average of total rebounds ((Chinese text)).
reb_totalintegerSeason total of total rebounds ((Chinese text)).
ast_avgdoublePer-game average of assists ((Chinese text)).
ast_totalintegerSeason total of assists ((Chinese text)).
stl_avgdoublePer-game average of steals ((Chinese text)).
stl_totalintegerSeason total of steals ((Chinese text)).
blk_avgdoublePer-game average of blocks ((Chinese text)).
blk_totalintegerSeason total of blocks ((Chinese text)).
tov_avgdoublePer-game average of turnovers ((Chinese text)).
tov_totalintegerSeason total of turnovers ((Chinese text)).
pf_avgdoublePer-game average of personal fouls ((Chinese text)).
pf_totalintegerSeason total of personal fouls ((Chinese text)).
fg2_pctdouble2-point percentage 0-100 ((Chinese text); the cell holds the same value as average and total).
fg3_pctdouble3-point percentage 0-100 ((Chinese text); same value as average and total).
ft_pctdoubleFree-throw percentage 0-100 ((Chinese text); same value as average and total).

Details

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

Examples

# \donttest{
  try(pleague_stat_player(season = 2025, stage_sn = 2))
#> Error in pleague_stat_player(season = 2025, stage_sn = 2) : 
#>   pleagueofficial.com/stat-player/2024-25/2: not the page asked for:
#> layout drift: stat-player header [#排名, PLAYER球員, NO背號, TEAM球隊, GP出賽,
#> MIN時間, PTS得分, 2PT二分, 2PM二分命中, 2PA二分出手, 2PT%二分%, 3PT三分,
#> 3PM三分命中, 3PA三分出手, 3PT%三分%, FT罰球, FTM罰球命中, FTA罰球出手,
#> FT%罰球%, REB籃板, OREB攻板, DREB防板, AST助攻, BLK阻攻, STL抄截, TO失誤,
#> PF犯規]
# }