mbb_player_crosswalk: *Get the MBB cross-source player crosswalk*

View source: R/mbb_crosswalk.R

mbb_player_crosswalkR Documentation

Get the MBB cross-source player crosswalk

Description

Build a wide, one-row-per-player-per-team crosswalk linking ESPN and Fox Sports (Bifrost) MBB player identities for a season. ESPN is the anchor source; Fox is matched by normalized name (exact first, then Jaro-Winkler fuzzy with jersey tiebreaker) within each team block. Yahoo columns are NA placeholders. KenPom and Torvik have no per-player data for MBB, so neither source is joined.

Usage

mbb_player_crosswalk(season = most_recent_mbb_season(), min_confidence = 0.92)

Arguments

season

Season year (4-digit, e.g. 2025). Defaults to most_recent_mbb_season().

min_confidence

Jaro-Winkler similarity floor for fuzzy matches (default 0.92).

Value

A hoopR_data tibble, one row per player per team (ESPN-anchored):

col_name types description
season integer Season year.
espn_team_id integer ESPN team id (canonical key).
team_abbreviation character ESPN team abbreviation.
player_name character Normalized player name (matching key).
espn_athlete_id character ESPN athlete id.
espn_full_name character ESPN full name.
espn_jersey character ESPN jersey number.
espn_position character ESPN position abbreviation.
fox_athlete_id character Fox athlete id (NA if unmatched).
fox_player character Fox player name (NA if unmatched).
fox_jersey character Fox jersey number (NA if unmatched).
fox_position_group character Fox position group label (NA if unmatched).
yahoo_player_id character Yahoo player id (NA placeholder).
yahoo_player_name character Yahoo player name (NA placeholder).
match_method character "exact_name"/"fuzzy_jw"/"unmatched".
match_confidence numeric Jaro-Winkler score or 1 for exact (NA if none).
match_keys character NA (reserved for future use).

See Also

Other MBB Crosswalk Functions: load_nba_team_crosswalk(), mbb_schedule_crosswalk(), mbb_team_crosswalk()

Examples


  try(mbb_player_crosswalk(season = 2025))


hoopR documentation built on Aug. 25, 2026, 9:07 a.m.