Package: fitzRoy 1.7.0.9000

fitzRoy: Easily Scrape and Process AFL Data

An easy package for scraping and processing Australia Rules Football (AFL) data. 'fitzRoy' provides a range of functions for accessing publicly available data from 'AFL Tables' <https://afltables.com/afl/afl_index.html>, 'Footy Wire' <https://www.footywire.com> and 'The Squiggle' <https://squiggle.com.au>. Further functions allow for easy processing, cleaning and transformation of this data into formats that can be used for analysis.

Authors:James Day [cre, aut], Robert Nguyen [aut], Matthew Erbs [ctb], Oscar Lane [aut], Jason Zivkovic [ctb], Jacob Holden [ctb]

fitzRoy_1.7.0.9000.tar.gz
fitzRoy_1.7.0.9000.zip(r-4.7)fitzRoy_1.7.0.9000.zip(r-4.6)fitzRoy_1.7.0.9000.zip(r-4.5)
fitzRoy_1.7.0.9000.tgz(r-4.6-any)fitzRoy_1.7.0.9000.tgz(r-4.5-any)
fitzRoy_1.7.0.9000.tar.gz(r-4.7-any)fitzRoy_1.7.0.9000.tar.gz(r-4.6-any)
fitzRoy_1.7.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
fitzRoy/json (API)

# Install 'fitzRoy' in R:
install.packages('fitzRoy', repos = c('https://jimmyday12.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jimmyday12/fitzroy/issues

Pkgdown/docs site:https://jimmyday12.github.io

On CRAN:

Conda:

10.61 score 147 stars 392 scripts 778 downloads 52 exports 46 dependencies

Last updated from:36a29bfba5. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK154
source / vignettesOK224
linux-release-x86_64OK201
macos-release-arm64OK90
macos-oldrel-arm64OK86
windows-develOK100
windows-releaseOK96
windows-oldrelOK97
wasm-releaseOK125

Exports:%>%calculate_coaches_vote_possibilitiesfetch_awardsfetch_awards_allaustralianfetch_awards_brownlowfetch_betting_odds_footywirefetch_coaches_votesfetch_fantasy_scoresfetch_fixturefetch_fixture_aflfetch_fixture_footywirefetch_fixture_squigglefetch_ladderfetch_ladder_aflfetch_ladder_afltablesfetch_ladder_squigglefetch_lineupfetch_lineup_aflfetch_outofcontractfetch_outofcontract_footywirefetch_player_detailsfetch_player_details_aflfetch_player_details_afltablesfetch_player_details_footywirefetch_player_statsfetch_player_stats_aflfetch_player_stats_afltablesfetch_player_stats_footywirefetch_player_stats_fryziggfetch_resultsfetch_results_aflfetch_results_afltablesfetch_results_footywirefetch_results_squigglefetch_rising_starfetch_score_worm_datafetch_scoresfetch_squiggle_datafetch_supercoach_scoresfetch_team_statsget_afl_cookieget_aflw_detailed_dataget_aflw_detailed_match_dataget_aflw_round_dataget_aflw_roundsparse_team_abbrplot_score_wormplot_score_worm_totalsreplace_teamsreplace_venuesteam_abr_aflteam_abr_afl2

Dependencies:askpassbitbit64clicliprcpp11crayoncurldplyrgenericsgluehmshttrhttr2janitorjsonlitelifecyclelubridatemagrittrmimeopensslpillarpkgconfigprettyunitsprogresspurrrR6rappdirsreadrrlangrvestselectrsnakecasestringistringrsystibbletidyrtidyselecttimechangetzdbutf8vctrsvroomwithrxml2

AFL Womens Example

Rendered fromwomens-stats.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2024-07-04
Started: 2018-11-07

AFLCA Coaches Votes Functions

Rendered fromaflca-coaches-votes.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2024-07-04
Started: 2021-09-27

Docker Support

Rendered fromdocker-support.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2023-04-06
Started: 2021-01-27

ELO Ratings Example

Rendered fromelo-ratings-example.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2024-07-04
Started: 2019-01-12

Fetching Player Details

Rendered fromplayer-details.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2024-07-04
Started: 2022-01-10

Introduction to fitzRoy

Rendered fromfitzRoy.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2024-07-04
Started: 2021-01-27

Main Fetch functions

Rendered frommain-fetch-functions.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2025-06-22
Started: 2021-01-27

Score-worms

Rendered fromscore-worms.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2024-12-11
Started: 2024-09-05

Using Fryzigg API

Rendered fromusing-fryzigg-stats.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2024-07-04
Started: 2020-06-11

Using the Squiggle API

Rendered fromusing-squiggle-api.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2024-07-04
Started: 2021-01-27

Readme and manuals

Help Manual

Help pageTopics
Calculate Coaches Vote Possibilitiescalculate_coaches_vote_possibilities
Fetch AFL Awards Datafetch_awards
Fetch AFL All-Australian Team or Squadfetch_awards_allaustralian
Fetch Brownlow Medal Datafetch_awards_brownlow
Fetch AFL match betting odds from https://www.footywire.comfetch_betting_odds_footywire
Fetch Coaches Votesfetch_coaches_votes
Fetch AFL Fantasy (Dream Team) Scoresfetch_fantasy_scores
Return the fixture for a particular round of matchesfetch_fixture fetch_fixture_afl fetch_fixture_footywire fetch_fixture_squiggle
Fetch Ladderfetch_ladder fetch_ladder_afl fetch_ladder_afltables fetch_ladder_squiggle
Return the selected lineup for any completed or upcoming matchesfetch_lineup fetch_lineup_afl
Fetch Out of Contract AFL Playersfetch_outofcontract
Fetch Player Detailsfetch_player_details fetch_player_details_afl fetch_player_details_afltables fetch_player_details_footywire
Fetch Player Statsfetch_player_stats fetch_player_stats_afl fetch_player_stats_afltables fetch_player_stats_footywire fetch_player_stats_fryzigg
Fetch Resultsfetch_results fetch_results_afl fetch_results_afltables fetch_results_footywire fetch_results_squiggle
Fetch AFL Rising Star Nominations or Statsfetch_rising_star
Plot Score Wormfetch_score_worm_data
Fetch Supercoach or Dream Team Scoresfetch_scores
Access Squiggle data using the squiggle API service.fetch_squiggle_data
Fetch Supercoach Scoresfetch_supercoach_scores
Fetch Team Statisticsfetch_team_stats
Returns a table with the colour palettes for all teamsget_afl_colour_palettes
Get AFL Stats cookie (internal function)get_afl_cookie
Get detailed AFLW dataget_aflw_detailed_data
Get detailed womens match data (internal function)get_aflw_detailed_match_data
Get match data (internal function)get_aflw_round_data
Get rounds (internal function)get_aflw_rounds
Get raw score progression dataget_score_progression_raw
Internal function to ensure names match between different sources and also name changes. This gets applied to any web scraperparse_team_abbr
Plot Score Wormplot_score_worm
Plot Score Worm Totalsplot_score_worm_totals
Internal function to ensure names match between different sources and also name changes. This gets applied to any web scraperreplace_teams
Internal function to ensure venue names match between different sources and also name changes across time. This gets applied to any web scraper, transforming all of them to AFL Tables naming conventions.replace_venues
Internal function to return team name abbreviation for AFL APIteam_abr_afl