Get player recruiting rankings from the CollegeBasketballData API.
Value
A hoopR_data tibble with one row per recruit. The hometown and
committed_to objects are flattened into prefixed columns:
| col_name | types | description |
| id | integer | Recruit id. |
| source_id | character | Source (ESPN) recruit id. |
| position | character | Recruit position. |
| school_id | integer | High school / club id. |
| school | character | High school / club name. |
| athlete_id | integer | Athlete id (once enrolled). |
| year | integer | Recruiting class year. |
| name | character | Recruit name. |
| height_inches | numeric | Height in inches. |
| weight_pounds | integer | Weight in pounds. |
| stars | integer | Star rating. |
| rating | numeric | Numeric recruit rating. |
| ranking | integer | Overall ranking. |
See also
Other CBD Recruiting Functions:
cbbd_recruiting_portal(),
cbbd_recruiting_teams()
Examples
# \donttest{
try(cbbd_recruiting_players(year = 2024))
#> ✖ 2026-06-09 22:48:24.504517: Invalid arguments or no recruiting players available!
#> ✖ Args: year = 2024, team = NULL, conference = NULL, position = NULL
#> ✖ Error: api.collegebasketballdata.com requires an API key. See ?register_cbbd for details.
#> data frame with 0 columns and 0 rows
# }
