Skip to main content

Relocations resolve by season

{
  "OAK 2019": "13",
  "LV 2024": "13",
  "QUE 1994": "17",
  "COL 2024": "17"
}
import { loadLeague, resolveSync } from "@sportsdataverse/sdvplot";

await loadLeague("nfl");
await loadLeague("nhl");

{
"OAK 2019": resolveSync("OAK", "nfl", { season: 2019 }),
"LV 2024": resolveSync("LV", "nfl", { season: 2024 }),
"QUE 1994": resolveSync("QUE", "nhl", { season: 1994 }),
"COL 2024": resolveSync("COL", "nhl", { season: 2024 }),
};

Tags: resolve · nfl · nhl. All sdvplot examples.