NEWS.md
plot_score_worm
and plot_score_worm_totals
fetch_player_stats_afltables
fetch_player_stats_afltables()
(#240)fetch_player_details_footywire()
(#242)fetch_results_afltables
fetch_player_stats_afltables
(#243)fetch_player_stats_afltables
for any games that went to extra-time (HQET and AQET) (#155)fetch_player_stats_afltables
fetch_player_stats_afltables
find_season_id
was only returning the last 10 seasons (#225)replace_venues
to handle different data source naming conventions (#164)replace_teams
to handle for indigenous round team names and made it more robust to handle random team name variations (#215)fetch_footywire_stats
was breaking due to an ‘unused sub’ in game this year (#201)fetch_player_details
was failingfetch_lineup
due to the response being unreliable depending on the time of yearfetch_fixture_footywire
wasn’t working for season 2024 due to Opening round (#209)fetch_results_footywire
wasn’t working for season 2024 due to Opening round (#211)fetch_footywire_stats
was breaking due to changes in the footywire sitefetch_player_stats_afltables
(#189)fetch_player_stats_afl
where it was throwing an error if trying to get AFL stats for a new season. It now returns NULL instead of an error (#190)fetch_player_stats_afl
(#185)get_
functions. These will be formally removed in the next releasefetch_player_stats_afltables
where NULL date was defaulting to 1897 instead of current season like other fetch_*
functions (#175). This is breaking behaviour to previous versions so will bump the version number but it should be an expected change to make the argument consistent with otherscomp
argument such as (#173)Fixed bug that was preventing Fremantle player details from being returned in fetch_player_details_footwire
(#169)
Fixed bug that was causing an error if a round didn’t have full lineups
Fixed issue in the cached data where some dates were missing, depending on when the data was scraped (#181)
Fixed issue where specific players were getting ID’s assigned incorrectly. I’ve partially fixed that issue but will only be useful for bugs found in 2021 onwards. I’ll have to manually fix older issues (#168)
Added new set of functions for fetching player details - fetch_player_details
and associated helper functions fetch_player_details_afl
, fetch_player_details_footywire
and fetch_player_details_afltables
will return the player details for a particular team and season
Added function fetch_coaches_votes
to retrieve AFLCA coaches votes for any given match @jlholden26
Added function calculate_coaches_vote_possibilities
to return all possible breakdowns of AFLCA coaches votes between two coaches @jlholden26
Fixed an a bug in fetch_fixture_footywire
for older versions of R #146
Fixed type mismatch in fetch_player_stats_afltables
and handling blank seasons in fetch_ladder_afl
(#149, @cfranklin11)
Updated error message in check_source
which is used in various functions #147
Fixed issue with fetch_results_afltabeles
caused by a readr
update
fetch_*
functions to provide a common API to various data sources. Each function has common arguments and provides consistent behaviourfetch_fixture
and associated helper functions fetch_fixture_afl
, fetch_fixture_footywire
and fetch_fixture_squiggle
will return the fixture for a particular season and roundfetch_results
and associated helper functions fetch_results_afl
, fetch_results_footywire
, fetch_results_sqiggle
and fetch_results_afltables
will return the results for a particular season and roundfetch_ladder
and associated helper functions fetch_ladder_afl
, fetch_ladder_sqiggle
and fetch_ladder_afltables
will return the ladder for a particular season and round.fetch_player_stats
and associated helper functions fetch_player_stats_footywire
, fetch_player_stats_afltables
and fetch_player_stats_fryzigg
will return the match stats for a particular season and round.fetch_lineup
and associated helper function fetch_lineup_afl
will return the lineup for a particular season and round, including upcoming matches if teams have been announcedThe following have all been soft deprecated. They will still work but likely be removed in a future version. * Deprecated get_afl_fixture
- please use fetch_fixture_afl
* Deprecated get_fixture
- use fetch_fixture_footywire
* Deprecated get_match_results
- use fetch_results_afltables
* Deprecated get_footywire_match_results
- use fetch_results_footywire
* Deprecated return_ladder
- use fetch_ladder_afltables
* Deprecated get_footywire_stats
- use fetch_footywire_stats
* Deprecated get_fryzigg_stats
- use fetch_player_stats_fryzigg
* Deprecated get_afltables_stats
- use fetch_player_stats_afltables
* Deprecated update_footywire_stats
- use fetch_player_stats_footywire
* Deprecated get_footywire_betting_odds
- use fetch_betting_odds_footywire
* Deprecated get_score_progression_raw
- no replacement * Deprecated get_footywire_match_ids
- use fetch_footywire_match_ids
* Deprecated get_aflw_cookie
- use get_afl_cookie
* Deprecated get_aflw_match_data
- use fetch_results_afl
* Deprecated get_aflw_player_stats
- use fetch_player_stats_fryzigg
fetch_betting_odds
not working in new seasonfetch_ladder
where it was returning only latest season #145
get_footywire_match_results
to return results from recent games, in the case where afltables hasn’t updatedget_afl_fixture
to return fixture from afl.com.aufetch_ladder_afl
to return data function from AFL.com.aufetch_ladder
generic function to return ladder dataget_afl_fixture
that was returning the wrong season if season was before 2012rvest::pluck
in preparation for it being depreciated in rvest 1.0.0 see changelog, @hadley
get_footywire_betting_odds
to handle duplicate date/venue combination in the 2020 season without raising error (#123, @cfranklin11)get_fixture
to handle the compressed 2020 fixture (#125, #128, #132, @cfranklin11)get_footywire_betting_odds
to return an empty data frame when only future seasons are requested rather than raising an error (#112, @cfranklin11)replace_venues
- changes venue names for all data sources to match AFL Tables (#15, @cfranklin11)This release is in preparation for a CRAN submission. There are some breaking changes and removal of early functions that are no longer supported.
get_afltables_stats()
or update_afltables_stats()
get_match_results()
get_fixture()
get_footywire_betting_odds
function that returns basic match and betting data from www.footywire.com. (#10, @cfranklin11)get_aflw_cookie()
to align with change in site API (#62)get_fixture()
now handles inconsistent assignment of Wednesday games and a related issue for some Round 1 matches where games were being assigned to the wrong round (#54
get_fixture()
now handles the cancelled match in round 14, 2015 (#56, @cfranklin11)get_aflw_round_data()
now correctly loads data and passes all tests (#52 #53)get_afltables_stats
no longer includes erroneous warning messages #44
fixture
data to 2019 #50
fitzRoy
#43
get_afltables_stats
now returns one name per player. For players where their name changes on afltables.com, we always return the first instance of their spelling #47
get_afltables_stats
now returns consistent finals names for round
. Full names are abbreviated to be consistent with past data #45
stringr
package. Now updated to ensure version 1.3.1 or greater #33
get_afltables_stats()
where it was returning a grouped tibble
. Thanks to tyluRp #38
start_date
missed Round 1, 1987 #29
get_afltables_player_ids
where it was returning 0 for all players #34
get_afltables_player_ids
where it was returning 0 for GWS and Bulldogs playersget_afltables_stats()
where it was returning a grouped tibble
. Thanks to tyluRp #38
get_afltables_stats
returns a data frame containing aflplayer stats for the specified games #19
get_aflplayer_urls
returns the URLs of games falling within a date range. Useful to pass to get_aflplayer_data
afldata
from the included data to reduce package size (in preparation for CRAN submission). Please use update_aflplayer_data
or the helper functionsget_fixture
returned wrong teams #23
get_squggle_data
function to return data from the Squiggle API