Skip to content

fitzRoy 1.7.0

Latest

Choose a tag to compare

@jimmyday12 jimmyday12 released this 16 Mar 02:03

New Features

  • Added a fetch_outofcontract function (with fetch_outofcontract_footywire) to fetch AFL out-of-contract players for a given year (2025 onwards), enabling team list analysis and end-of-season contract reviews.
  • Added a new set of functions to fetch AFL Supercoach and AFL Fantasy (Dream Team) scores from Footywire. The main wrapper function fetch_scores() allows users to specify the scoring system ("supercoach" or "dream_team") along with year and round inputs. This addition includes helper functions fetch_supercoach_scores() and fetch_fantasy_scores(), which retrieve round-level performance metrics such as player rankings, salary, scores, and value.
  • Added fetch_awards() function with support for three AFL awards:
    • brownlow (player and team vote tallies from Footywire)
    • allaustralian (final team and full squad)
    • risingstar (nominations and round-level stats)
  • Added a new wrapper function fetch_team_stats() for retrieving team-level statistics from multiple sources.
  • Improved code clarity and consistency with better error handling (cli), safer scoping (.data$), and modern dplyr syntax.
  • Enhanced compatibility with other functions by ensuring consistent team naming and structure in outputs.

Bug Fixes

  • Fix duplicates for most recent game in fetch_player_stats_afltables() (#250)
  • Fix issues for fetch_player_details when indigenous names are used (#262), (#261)
  • Addresses new afl.com.au spelling of Wallitj Marawar in replace_teams() (#259)
  • Fixed issue with fetch_player_footywire_stats not working with new season