AFL/W statistics

sport
R package
AFLW (women) and AFL (men) player, team and match statistics.
Modified

3 December 2026

NoteAt a glance
Source fitzRoy
Access R package
Licence fitzRoy is MIT licensed; the statistics come from AFL.com.au (Champion Data) with no open data licence, so use them for teaching and research rather than redistribution
Time coverage AFLW 2017–present, AFL men’s 2012–present (from the default "AFL" source); one row per player per match
Spatial coverage AFL and AFLW matches around Australia, mostly in Victoria
Update frequency Within days of each match during the season (AFL men’s March–September, AFLW August–November)
Size One season is about 5,000 rows for AFLW (4,918 in 2025, 70 columns) and about 10,000 rows for AFL men’s (95 columns)
Fresh? Yes: change season (and round_number) to get the current season, even part-way through
Local? Australian rules football is a local game and most clubs are based in Melbourne; the AFLW data lets students work with women’s sport

Overview

The fitzRoy package allows samples of AFL player and team statistics to be created, for both the women’s (AFLW) and men’s competitions.

Getting the data

library(fitzRoy)
aflw <- fetch_player_stats(season = 2025, comp = "AFLW")
afl  <- fetch_player_stats(season = 2025, comp = "AFLM")

Data dictionary

One row per player per match. The 2025 AFLW season gives 4,918 rows and 70 columns; the AFL (men’s) data has 95 columns because it also includes the extendedStats.* variables. Checked with fitzRoy 1.8.0 (December 2026), using the default source = "AFL".

Match and team

variable class description
providerId character Match identifier, e.g. CD_M20252640101.
utcStartTime character Match start time in UTC, ISO 8601 text (e.g. 2025-08-14T09:15:00.000+0000).
status character Match status, e.g. CONCLUDED.
compSeason.shortName character Competition and season, e.g. 2025 AFL Womens, Premiership.
round.name character Round name, e.g. Round 1, Semi Finals, Grand Final.
round.roundNumber integer Round number; finals continue the numbering after the home-and-away rounds.
venue.name character Ground name, e.g. MCG.
home.team.name, away.team.name character Home and away team names.
home.team.club.name, away.team.club.name character Club names (the same as the team names in 2025).
teamId character Identifier of the player’s team, e.g. CD_T120.
team.name character Name of the player’s team.
teamStatus character Whether the player’s team was home or away.

Player

variable class description
player.playerId character Player identifier, e.g. CD_I1028525; use this to join across matches and seasons.
player.givenName, player.surname character Player’s first name and surname.
player.jumperNumber integer Jumper number worn in the match.
player.photoURL character URL of the player’s headshot.
player.player.position character Named position for the match: FB, BPL, BPR, CHB, HBFL, HBFR, C, WL, WR, CHF, HFFL, HFFR, FF, FPL, FPR, RK (ruck), R (rover), RR (ruck rover), INT (interchange), SUB (substitute).
player.captain logical Whether the player was captain.
player.playerJumperNumber integer Duplicate of player.jumperNumber.
player.player.player.* Duplicates of player.playerId, player.captain, player.playerJumperNumber, player.givenName, player.surname.

Match statistics

All counts are for the player in that match.

variable class description
timeOnGroundPercentage numeric Percentage of the match the player spent on the ground.
goals, behinds numeric Goals (6 points) and behinds (1 point) kicked.
shotsAtGoal numeric Shots at goal.
goalAccuracy numeric Goals as a percentage of shots at goal.
goalAssists numeric Disposals that led directly to a goal.
kicks, handballs numeric Kicks and handballs.
disposals numeric Kicks + handballs.
disposalEfficiency numeric Percentage of disposals that were effective (0–100).
contestedPossessions, uncontestedPossessions numeric Possessions won in a contest / not under pressure.
totalPossessions numeric Contested + uncontested possessions.
marks numeric Marks taken.
contestedMarks numeric Marks taken under physical pressure.
marksInside50 numeric Marks taken inside the forward 50.
bounces numeric Bounces while running with the ball.
tackles numeric Tackles laid.
tacklesInside50 numeric Tackles laid inside the forward 50.
hitouts numeric Ruck hitouts (mainly ruck players).
onePercenters numeric Spoils, smothers, shepherds and similar defensive acts.
inside50s numeric Times the player moved the ball into the forward 50.
rebound50s numeric Times the player moved the ball out of the defensive 50.
clearances.centreClearances, clearances.stoppageClearances numeric Clearances from centre bounces and from other stoppages.
clearances.totalClearances numeric Centre + stoppage clearances.
intercepts numeric Possessions won from an opposition disposal.
metresGained numeric Net metres the ball was moved towards goal (can be negative).
scoreInvolvements numeric Number of scoring chains the player was involved in.
turnovers numeric Disposals that gave possession to the opposition.
clangers numeric Errors (e.g. free kicks conceded, ineffective disposals).
freesFor, freesAgainst numeric Free kicks awarded to and against the player.
dreamTeamPoints numeric AFL Fantasy score calculated from the player’s statistics.
ratingPoints numeric Champion Data player rating. Missing for AFLW.

Extended statistics (AFL men’s only)

In the AFLW data, extendedStats is a single column of NAs.

variable class description
extendedStats.centreBounceAttendances numeric Centre bounces the player attended.
extendedStats.contestDefOneOnOnes, extendedStats.contestDefLosses, extendedStats.contestDefLossPercentage numeric One-on-one contests as the defender, how many were lost, and the loss percentage.
extendedStats.contestOffOneOnOnes, extendedStats.contestOffWins, extendedStats.contestOffWinsPercentage numeric One-on-one contests as the attacker, how many were won, and the win percentage.
extendedStats.contestedPossessionRate numeric Contested possessions as a percentage of total possessions.
extendedStats.effectiveDisposals, extendedStats.effectiveKicks numeric Disposals / kicks that reached the intended target.
extendedStats.kickEfficiency numeric Effective kicks as a percentage of kicks.
extendedStats.kickToHandballRatio numeric Kicks divided by handballs.
extendedStats.groundBallGets, extendedStats.f50GroundBallGets numeric Loose-ball gathers at ground level, overall and in the forward 50.
extendedStats.interceptMarks numeric Marks taken from an opposition disposal.
extendedStats.marksOnLead numeric Marks taken while leading at the ball.
extendedStats.hitoutsToAdvantage, extendedStats.hitoutToAdvantageRate numeric Hitouts that reached a teammate, as a count and as a percentage of hitouts.
extendedStats.hitoutWinPercentage numeric Percentage of ruck contests won.
extendedStats.ruckContests numeric Ruck contests attended.
extendedStats.kickins, extendedStats.kickinsPlayon numeric Kick-ins after an opposition behind, and how many were played on.
extendedStats.pressureActs, extendedStats.defHalfPressureActs numeric Acts that pressured an opponent, overall and in the defensive half.
extendedStats.scoreLaunches numeric Chains that started with the player and ended in a score.
extendedStats.spoils numeric Spoils (punching the ball away to stop a mark).

Always missing

gamesPlayed, superGoals, ranking, goalEfficiency, interchangeCounts, lastUpdated and shotEfficiency were all NA in the 2025 AFL and AFLW data and can be dropped.

Teaching ideas

  • Wrangling: sum goals * 6 + behinds by providerId and teamStatus to rebuild each match score, then pivot to one row per match with the home and away scores and the margin.

  • Dates and time zones: convert utcStartTime to Melbourne local time and compare day and night matches, or the fixtures in different states.

  • Visualisation: compare the distributions of disposals, tackles or metres gained across positions (player.player.position). Grouping the named positions into backs, midfield, forwards, ruck and interchange is a useful exercise in itself.

  • Fair comparisons: rescale counts by timeOnGroundPercentage before ranking players, and discuss why raw totals favour players who spent longer on the ground.

  • AFLW vs AFL: compare per-player statistics between the competitions. AFLW quarters are shorter, so this leads to a discussion of rates versus totals.

  • Modelling: predict the match margin from team totals of inside 50s, contested possessions and clearances, or cluster players into roles using their statistical profiles.

  • Data quality: find the all-NA and duplicate columns (see the data dictionary) and decide what to drop.

  • Season averages: average each player’s match statistics over the season, giving a fresh version of the aflw data used in the mulgar PCA chapter. Students can then run PCA or a tour, or cluster players into roles. For 2025 AFLW this gives 513 players, but some played only one or two matches. Deciding on a minimum number of games, and whether to average all matches or weight by time on ground, is a good discussion. Comparing seasons shows whether the PCA structure is stable from year to year.

    library(dplyr)
    aflw_season <- aflw |>
      select(where(\(x) !all(is.na(x))), -starts_with("player.player.player")) |>
      arrange(utcStartTime) |>
      # Group by ID only, as names can change within a season; keep the latest name
      group_by(player.playerId) |>
      summarise(across(c(player.givenName, player.surname, team.name), last),
                games = n(),
                across(timeOnGroundPercentage:clearances.totalClearances, mean),
                .groups = "drop")

Things to watch out for

Checked against the 2025 AFLW data and round 1 of the 2025 AFL (men’s) data.

  • Missing and duplicate columns: seven columns are entirely NA, ratingPoints and all extendedStats are missing for AFLW, and the player.player.player.* columns repeat the player.* ones (see the data dictionary). Code written for the men’s data may break on AFLW.
  • Zero is not the same as undefined: goalAccuracy is 0 when a player had no shots (3,053 of 4,918 AFLW rows), and disposalEfficiency is 0 when a player had no disposals. Set these to NA before averaging, or the averages will be pulled down.
  • Time on ground varies a lot: substitutes (SUB in the men’s data) typically play about 30% of the match, and players injured during a match have low values too (35 AFLW rows under 25%). Counts like disposals and tackles depend heavily on this, so compare rates rather than raw totals.
  • AFLW and AFL are not directly comparable: AFLW teams have fewer players (42–43 player rows per match vs 46 for AFL in 2025) and shorter quarters, and AFLW had no substitutes in 2025.
  • Rebuilt scores may not match the official score: rushed behinds are not credited to any player, so summing goals * 6 + behinds over a team’s players can undercount the team’s score.
  • Positions are the named team-sheet positions, not where the player actually spent the match. Players move around a lot, especially midfielders and interchange players.
  • Finals continue the round numbering: in 2025 AFLW, rounds 13–16 are Finals Week 1 to Grand Final. Filter on round.name if you only want the home-and-away season, and remember that only finalists have these extra matches when calculating per-game averages.
  • Player names change, so join on player.playerId: across the 2024 and 2025 AFLW seasons, 14 players appear under more than one name with the same ID. Two have new surnames, likely from marriage (Breann Moody → Breann Harrington, Ashleigh Saint → Ashleigh Woodland). The others are switches between short and full first names (Ally/Alexandra Anderson, Eliza/Elizabeth McNamara, Gab/Gabriella Pound) or a dropped middle initial used to tell apart players with the same name (Ella K. Smith → Ella Smith). Some changes happen part-way through a season: Ashleigh Woodland’s name changed for the last 2024 match, and Bess/Elizabeth Keaney switches within 2024. Grouping or joining by name will split these players into two, so use the ID and attach the most recent name afterwards.
  • metresGained can be negative (43 AFLW rows), when a player’s disposals moved the ball back towards their own goal.
  • utcStartTime is text in UTC: parse it with lubridate::ymd_hms() and convert to "Australia/Melbourne" (or the venue’s time zone) before looking at day or time of play.
  • Data definitions change over time (new statistics, rule changes such as the substitute rule, and AFLW season length and team numbers), so be careful when comparing across seasons.
  • Scraped data: fitzRoy reads from the AFL website, so it can break when the website changes, and downloads are slow for a full season (about 20 seconds for AFLW). Save the data locally rather than downloading it every time a document is rendered.

Used in

  • Cook, D. and Laa, U. Interactively exploring high-dimensional data and models in R, Chapter 4: Principal component analysis. The AFLW example uses a tour and PCA on 29 standardised player statistics. It finds that four components summarise field play, offence versus defence, time on ground and clearances, and errors, and identifies the exceptional players. The chapter’s exercises build “skill” variables and transform the skewed statistics. It uses the aflw data from the mulgar package: each of the 381 players’ average statistics over the 2021 AFLW season, built from fitzRoy data with shorter variable names (e.g. time_pct, frees_for). Averaging the match-level output of fetch_player_stats() by player.playerId gives a fresh version for any season.

References