Skip to contents

Main Fetch Functions (AFLM and AFLW)

These are the main functions to return data. They all have consistent arguments and APIs. You can access both Mens and Womens data providing you use the right source.

Other

These are other functions that return data but don’t fit into the normal fetch functions.

fetch_squiggle_data()
Access Squiggle data using the squiggle API service.
get_fryzigg_stats() deprecated
Return get match stats from fryziggafl.net/api/
fetch_betting_odds_footywire()
Fetch AFL match betting odds from https://www.footywire.com
get_afl_colour_palettes()
Returns a table with the colour palettes for all teams
calculate_coaches_vote_possibilities()
Calculate Coaches Vote Possibilities
plot_score_worm()
Plot Score Worm
plot_score_worm_totals()
Plot Score Worm Totals
fetch_score_worm_data()
Plot Score Worm

Internals

Internal functions are mostly used internally by the package and won’t be useful to end users.

replace_teams()
Internal function to ensure names match between different sources and also name changes. This gets applied to any web scraper
parse_team_abbr()
Internal function to ensure names match between different sources and also name changes. This gets applied to any web scraper
replace_venues()
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.
get_aflw_cookie() deprecated
Get AFL Stats cookie
get_afl_cookie()
Get AFL Stats cookie (internal function)
team_abr_afl()
Internal function to return team name abbreviation for AFL API

Superseded

Superseded functions have been replaced by new approaches that we believe to be superior, but we don’t want to force you to change until you’re ready, so the existing functions will stay around for several years.

get_fixture() deprecated
Get upcoming fixture from https://www.footywire.com
get_afltables_stats() deprecated
Return afltables match stats
get_footywire_stats() deprecated
Scrape footywire player statistics.
update_footywire_stats() deprecated
Update the included footywire stats data to the specified date.
get_footywire_betting_odds() deprecated
Get AFL match betting odds from https://www.footywire.com
get_match_results() deprecated
Get basic match results from afltables.com
return_ladder() deprecated
Recreate the ladder for every or any given round and/or season
get_fryzigg_stats() deprecated
Return get match stats from fryziggafl.net/api/
get_afl_fixture() deprecated
Get AFL fixture
get_squiggle_data() deprecated
Access Squiggle data using the squiggle API service.
get_footywire_match_results() deprecated
Get footywire Match Results
get_score_progression_raw() deprecated
Get raw score progression data
get_aflw_detailed_data()
Get detailed AFLW data
get_aflw_detailed_match_data()
Get detailed womens match data (internal function)
get_aflw_match_data() deprecated
Get AFLW match data
get_aflw_round_data()
Get match data (internal function)
get_aflw_rounds()
Get rounds (internal function)
get_aflw_player_stats() deprecated
Return get match stats for all current AFLW matches