View source: R/cbbd_rankings.R
| cbbd_rankings | R Documentation |
Get poll rankings (AP / Coaches) from the CollegeBasketballData API.
cbbd_rankings(
season = most_recent_mbb_season(),
season_type = NULL,
week = NULL,
poll_type = NULL,
team = NULL,
conference = NULL
)
season |
(integer optional): Season, 4-digit ending-year (e.g. |
season_type |
(character optional): One of |
week |
(integer optional): Poll week filter. |
poll_type |
(character optional): One of |
team |
(character optional): Team name filter. |
conference |
(character optional): Conference abbreviation filter. |
A hoopR_data tibble with one row per ranked team per poll:
| col_name | types | description |
| season | integer | Season (4-digit ending-year). |
| season_type | character | Season type. |
| week | integer | Poll week. |
| poll_date | character | Date the poll was released. |
| poll_type | character | Poll type (ap or coaches). |
| team_id | integer | CollegeBasketballData team id. |
| team | character | Team name. |
| conference | character | Conference name. |
| ranking | integer | Poll rank. |
| points | numeric | Poll points received. |
| first_place_votes | numeric | Number of first-place votes. |
try(cbbd_rankings(season = 2024, poll_type = "ap"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.