Skip to main content

NFL dataset loaders — Other: group_aliases–player_aliases

load_nfl_group_aliases​

Release: nfl_groups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nfl_groups/nfl_group_aliases.parquet

Coverage

One season-less file: every name, abbreviation, slug and source id that a source (espn, nflverse, sdv) uses for a group, each with the seasons it is valid for (valid_from / valid_to, inclusive; null = unbounded). Match a source's conference or division label here to reach group_id.

Returns​

col_nametypedescription
leagueStringLeague code of the table ("nfl"); the prefix of every group_id in it.
group_idStringSDV group id, {league}:{slug}. It names a lineage: renames that keep continuity keep the id, and a new body (a new conference, or a merger the sources treat as new) gets a new one.
sourceStringSource that uses this label or id (in this table: espn, nflverse, sdv); "sdv" marks SDV's own labels.
source_idStringThe source's own id for the group (ESPN group id, NCAA conf_id, CFBD id, MLB division id) when it has one; null otherwise.
name_kindStringKind of label in value: "name", "short_name", "abbreviation", "slug" or "code".
valueStringThe label exactly as the source writes it; match a source's conference or division label against it to reach group_id.
valid_fromInt32First season the alias is valid for, inclusive (STARTING year: 2025 = the 2025-26 season); null = unbounded.
valid_toInt32Last season the alias is valid for, inclusive (STARTING year: 2025 = the 2025-26 season); null = unbounded (still in use).
load_nfl_group_aliases()

load_nfl_player_aliases​

Release: nfl_groups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nfl_groups/nfl_player_aliases.parquet

Coverage

One season-less file: every player id another source (cbs, fox, yahoo) uses for an ESPN athlete (athlete_id, a string; athlete_id_source = espn), with the ESPN team the match was made on (team_id) and the seasons it held (valid_from / valid_to, inclusive). match_method and match_confidence carry the matching leg's own method and score. Filter on source before joining on source_player_id. Seasons are the STARTING year (2025 = the 2025-26 season).

Returns​

col_nametypedescription
leagueStringLeague code of the table ("nfl").
athlete_idStringESPN athlete id the provider id points to, as a string (e.g. "4433134"). Join on it to reach ESPN player data.
athlete_id_sourceStringId space of athlete_id; always "espn" in this table.
sourceStringProvider whose player id this is (in this table: cbs, fox, yahoo).
source_player_idStringThe source's own player id (e.g. Yahoo nfl.p.8040, Fox 76284). It means something only within its source, so filter on source first.
team_idStringESPN team id (a string) the athlete was on in these seasons: the team block the match was made in, an ESPN team-season of load_nfl_team_group_seasons.
source_team_idStringThe source's own team id when the matching leg gives one (the season's stats.ncaa.org team id; the Fox / Yahoo / CBS team for the NFL); null otherwise.
valid_fromInt32First season the id is on that team, inclusive (STARTING year: 2025 = the 2025-26 season).
valid_toInt32Last season the id is on that team, inclusive (STARTING year: 2025 = the 2025-26 season). A gap or a change of match method splits the window into two rows.
match_methodStringThe matching leg's own method (exact_name, fuzzy_jw, the NCAA tiers name_jersey / name / last_jersey / jaro_winkler, CFB rosters name); crosswalk for a leg that names none; propagated when a pair matched in another season was carried to this provider id; override for a hand-verified override.
match_confidenceFloat64The leg's own match confidence where it gives one (the lowest in the window); the NCAA tiers score 1.0 / 0.95 / 0.9 / 0.85; null otherwise.
evidenceStringThe release asset or sportsdataverse/sdv-reference-data file the row came from.
load_nfl_player_aliases()