View source: R/nbadraft_mock_draft.R
| nbadraft_mock_draft | R Documentation |
Get the latest mock draft from NBADraft.net.
Returns the current consensus mock draft (both rounds), one row per pick. No API key is required.
nbadraft_mock_draft(year = NULL)
year |
(integer optional): Draft year (e.g. |
A hoopR_data tibble with one row per mock-draft pick:
| col_name | types | description |
| round | integer | Draft round (1 or 2). |
| pick | integer | Pick number within the round. |
| team | character | Projected team (* traded-pick marker stripped). |
| player | character | Projected player. |
| height | character | Player height. |
| weight | character | Player weight. |
| position | character | Player position. |
| school | character | Player school / pre-draft team. |
| class | character | Player class / draft eligibility. |
Other Salary & Draft Functions:
hoopshype_salaries(),
spotrac_team_cap()
try(nbadraft_mock_draft())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.