Get player recruiting rankings from the CollegeBasketballData API.
Get team recruiting rankings from the CollegeBasketballData API.
Get transfer portal data from the CollegeBasketballData API.
Usage
cbbd_recruiting_players(
year = NULL,
team = NULL,
conference = NULL,
position = NULL
)
cbbd_recruiting_teams(year = NULL, team = NULL, conference = NULL)
cbbd_recruiting_portal(
year = NULL,
source_team = NULL,
destination_team = NULL,
source_conference = NULL,
destination_conference = NULL,
position = NULL
)Arguments
- year
(integer optional): Recruiting class year (e.g.
2024).- team
(character optional): Committed team filter.
- conference
(character optional): Conference abbreviation filter.
- position
(character optional): Position filter.
- source_team
(character optional): Origin team filter.
- destination_team
(character optional): Destination team filter.
- source_conference
(character optional): Origin conference filter.
- destination_conference
(character optional): Destination conference filter.
Value
A hoopR_data tibble with one row per recruit.
Its columns are listed in return_columns
(subset(return_columns, fn == "cbbd_recruiting_players")) and in the searchable
return columns article.
A hoopR_data tibble with one row per team.
Its columns are listed in return_columns
(subset(return_columns, fn == "cbbd_recruiting_teams")) and in the searchable
return columns article.
A hoopR_data tibble with one row per transfer.
Its columns are listed in return_columns
(subset(return_columns, fn == "cbbd_recruiting_portal")) and in the searchable
return columns article.
Examples
# \donttest{
try(cbbd_recruiting_players(year = 2024))
#> ✖ 2026-11-13 21:11:18.404543: 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
# }
# \donttest{
try(cbbd_recruiting_teams(year = 2024))
#> ✖ 2026-11-13 21:11:18.414432: Invalid arguments or no team recruiting rankings available!
#> ✖ Args: year = 2024, team = NULL, conference = NULL
#> ✖ Error: api.collegebasketballdata.com requires an API key. See ?register_cbbd for details.
#> data frame with 0 columns and 0 rows
# }
# \donttest{
try(cbbd_recruiting_portal(year = 2024))
#> ✖ 2026-11-13 21:11:18.42748: Invalid arguments or no transfer portal data available!
#> ✖ Args: year = 2024, source_team = NULL, destination_team = NULL, source_conference = NULL, destination_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
# }
