v1.5.0
Added
roundNamefield onMatchResult— exposes the human-readable round name (e.g. "Round 1", "Qualifying Final") from all data sourcesposition,goalEfficiency,shotEfficiency,interchangeCountsfields onPlayerStats— populated from the AFL API raw responsesupercoachScorefield onPlayerStats— populated from FootyWire's SC column (null for other sources)date,homeTeam,awayTeammatch context fields onPlayerStats— enables cross-source joins without relying onmatchIdformatplayer-detailscommand now works without--teamflag — fetches all teams when omitted
Changed
statscommand with--source afl-apinow returns all available rounds when-ris omitted, matching the R package'sfetch_player_stats(season = N)behaviourtransformPlayerStatsnow accepts(data, ctx: TransformContext)instead of positional parameters- FootyWire stats fetching pre-filters match IDs by round before scraping (~4 pages instead of ~200 for single-round queries)
Fixed
statscommand no longer errors on rounds with unplayed matches — gracefully skips matches where the AFL API returns null player stats arrays
Closes #60, #61, #62, #63, #64
What's Changed
- feat: v1.5.0 — new fields, full-season stats, optional team (#60-#64) by @jackemcpherson in #65
Full Changelog: v1.4.2...v1.5.0