Skip to contents

Get the active NBA player index from RealGM (basketball.realgm.com).

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. Its columns are listed in return_columns (subset(return_columns, fn == "realgm_players")) and in the searchable return columns article.

See also

family_realgm lists every function in this family.

Examples

if (FALSE) { # \dontrun{
  try(realgm_players())
} # }