Skip to contents

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.

Usage

nbadraft_mock_draft(year = NULL)

Arguments

year

(integer optional): Draft year (e.g. 2025). Defaults to the site's current mock; older years use the /{year}/ path when available.

Value

A hoopR_data tibble with one row per mock-draft pick:

col_nametypesdescription
roundintegerDraft round (1 or 2).
pickintegerPick number within the round.
teamcharacterProjected team (* traded-pick marker stripped).
playercharacterProjected player.
heightcharacterPlayer height.
weightcharacterPlayer weight.
positioncharacterPlayer position.
schoolcharacterPlayer school / pre-draft team.
classcharacterPlayer class / draft eligibility.

See also

Other Salary & Draft Functions: hoopshype_salaries(), spotrac_team_cap()

Examples

# \donttest{
  try(nbadraft_mock_draft())
#> ── Mock draft from nbadraft.net ───────────────────────────────── hoopR 3.1.0 ──
#>  Data updated: 2026-06-13 07:39:09 UTC
#> # A tibble: 0 × 0
# }