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.

fetch_ladder() fetch_ladder_afl() fetch_ladder_afltables() fetch_ladder_squiggle()

Fetch Ladder

fetch_results() fetch_results_afl() fetch_results_afltables() fetch_results_footywire() fetch_results_squiggle()

Fetch Results

fetch_fixture() fetch_fixture_afl() fetch_fixture_footywire() fetch_fixture_squiggle()

Return the fixture for a particular round of matches

fetch_player_stats() fetch_player_stats_afl() fetch_player_stats_afltables() fetch_player_stats_fryzigg() fetch_player_stats_footywire()

Fetch Player Stats

fetch_lineup() fetch_lineup_afl()

Return the selected lineup for any completed or upcoming matches

fetch_player_details() fetch_player_details_afl() fetch_player_details_afltables() fetch_player_details_footywire()

Fetch Player Details

fetch_coaches_votes()

Fetch Coaches Votes

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()

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

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

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()

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()

Get upcoming fixture from https://www.footywire.com

get_afltables_stats()

Return afltables match stats

get_footywire_stats()

Scrape footywire player statistics.

update_footywire_stats()

Update the included footywire stats data to the specified date.

get_footywire_betting_odds()

Get AFL match betting odds from https://www.footywire.com

get_match_results()

Get basic match results from afltables.com

return_ladder()

Recreate the ladder for every or any given round and/or season

get_fryzigg_stats()

Return get match stats from fryziggafl.net/api/

get_afl_fixture()

Get AFL fixture

get_squiggle_data()

Access Squiggle data using the squiggle API service.

get_footywire_match_results()

Get footywire Match Results

get_score_progression_raw()

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()

Get AFLW match data

get_aflw_round_data()

Get match data (internal function)

get_aflw_rounds()

Get rounds (internal function)

get_aflw_player_stats()

Return get match stats for all current AFLW matches