Skip to main content

P. LEAGUE+ (sportsdataverse.basketball.plg)

Data sources​

SourceAPIs / hostsFunctionsAuth
P. LEAGUE+ (Taiwan) and Preciserapi.preciser.io, pleagueofficial.com19none
Additional functionshand-written wrappers & helpers2—

P. LEAGUE+ (Taiwan) and Preciser​

ReferenceFunctions
P. LEAGUE+ site (pleagueofficial.com, Taiwan)11
P. LEAGUE+ vendor API (api.preciser.io, Taiwan)7
Hand-written wrappers1

Tools and helpers​

IDs and crosswalks​

Examples​

Worked examples — executed notebooks rendered as pages (refreshed weekly against the live APIs):

Python ↔ R parity​

Each sportsdataverse function and its equivalent in the sister R package, hoopR. Same-named where possible; the R column links the package's pkgdown reference.

sportsdataverse.basketball.plg (Python)hoopR (R)
pleague_box_playerspleague_box_players
pleague_box_teamspleague_box_teams
pleague_gamepleague_game
pleague_officialspleague_officials
pleague_pbppleague_pbp
pleague_periodspleague_periods
pleague_playerpleague_player
pleague_player_seasonspleague_player_seasons
pleague_preciser_injurypleague_preciser_injury
pleague_preciser_lead_flowpleague_preciser_lead_flow
pleague_preciser_rotationpleague_preciser_rotation
pleague_preciser_score_logpleague_preciser_score_log
pleague_preciser_shotspleague_preciser_shots
pleague_preciser_summary_teamspleague_preciser_summary_teams
pleague_preciser_win_probabilitypleague_preciser_win_probability
pleague_schedulepleague_schedule
pleague_standingspleague_standings
pleague_stat_playerpleague_stat_player
pleague_team_crosswalkpleague_team_crosswalk