realgm_players: *RealGM NBA Player Index*

View source: R/realgm_players.R

realgm_playersR Documentation

RealGM NBA Player Index

Description

Get the active NBA player index from RealGM.

Returns RealGM's roster of active NBA players, including position, listed height/weight, age, current team, years of service and pre-draft team – the pre-draft / international detail RealGM is known for.

Requires a headless browser. RealGM is behind a Cloudflare JavaScript challenge, so the ⁠realgm_*()⁠ functions drive headless Chrome via the optional chromote package (install it and Google Chrome). A plain HTTP client receives an HTTP 403 challenge page.

Usage

realgm_players()

Value

A hoopR_data tibble with one row per active player:

col_name types description
number integer Row number.
player character Player name.
pos character Position.
ht character Listed height.
wt integer Listed weight (lbs).
age numeric Age.
current_team character Current NBA team.
yos integer Years of service.
pre_draft_team character Pre-draft team / school.
draft_status character Draft pick / undrafted status.
nationality character Player nationality.

See Also

Other RealGM Functions: realgm_coaches(), realgm_draft(), realgm_draft_prospects(), realgm_early_entry(), realgm_future_free_agents(), realgm_gms(), realgm_individual_games(), realgm_individual_seasons(), realgm_player_stats(), realgm_players_abroad(), realgm_rookie_scale(), realgm_salary_cap(), realgm_standings(), realgm_team_stats(), realgm_teams(), realgm_transactions()

Examples

## Not run: 
  try(realgm_players())

## End(Not run)

hoopR documentation built on Aug. 25, 2026, 9:07 a.m.