Skip to main content

Crate nflverse_data

Crate nflverse_data 

Source

Modules§

live

Structs§

AssetUpdate
One committed asset from a sync: the dataset and, for per-season datasets, the season whose rows were replaced. Shared datasets carry None.
DatasetFreshness
DatasetReport
EspnPlayerId
Game
InjuryEntry
InjuryReport
LiveGame
LiveGameSnapshot
LivePlayerStats
LiveScoreboard
LiveScoreboardGame
LiveSlate
LiveTeamStats
NflverseData
NflverseDataConfig
Player
PlayerWeekStats
ProviderResponse
Season
SeasonWeek
An NFL week identified by season year and absolute week number.
SyncEvent
One completed sync run: the overall verdict plus every asset that committed changes. Emitted for unchanged and fully failed runs too, but never for a run that fails at setup.
SyncReport
TeamWeekStats
One team’s per-week DST line, aggregated from play-by-play. Every field is a FanDuel DST scoring input. touchdowns collapses defensive, return, and special-teams TDs (all score +6). points_allowed is the opponent’s offensive points (FanDuel’s points-allowed), not the scoreboard total.
Week
WeeklyRosterEntry
One player’s place on a team’s roster in a single week. This survives mid-season trades: a player appears under each team for the weeks he was actually there.

Enums§

Dataset
DatasetStatus
Outcome of syncing one dataset.
InjuryDesignation
LiveGamePhase
LiveProviderError
NflverseDataError
ProviderOutcome
RawBody
SeasonType
Stored as TEXT “REG”/“POST”. Upstream playoff game types (WC/DIV/CON/SB) map to Post at ingest.
TeamAbbr
An NFL team identified by its canonical abbreviation.

Traits§

InjuryProvider
LiveScoreProvider

Functions§

eastern_offset
US Eastern offset for a date under post-2007 DST rules (second Sunday of March through first Sunday of November). Correct for every season this crate is configured to fetch; no NFL game kicks off inside the 2 AM transition window.
to_eastern
Convert an instant to US Eastern wall-clock time under post-2007 DST rules.

Type Aliases§

RefreshStatus
Start-time dataset freshness while running, or the last report text when idle.