jimmyday12 / fitzRoy

A set of functions to easily access AFL data
https://jimmyday12.github.io/fitzRoy
Other
125 stars 27 forks source link

fetch_lineup_afl for new AFLW Season #184

Closed jt026 closed 1 year ago

jt026 commented 1 year ago

just wondering how we can fetch upcoming lineups for this new AFLW Season given its also in 2022 like last seasons.

jimmyday12 commented 1 year ago

Just pushed an update that should fix this. It's hard to handle but now using season = 2022 will return both seasons. You'll have to filter it after returning the data to just get the upcoming season

dbmurray commented 1 year ago

Hrm. fetch_fixture_afl(2022, comp = "AFLW") will return both 2022 season, but I can't seem to get the same outcome when I try fetch_player_stats(2022, comp = "AFLW", source = "fryzigg") which only returns season 6 data.

Perhaps its the source (i.e fryzigg)?

jt026 commented 1 year ago

fetch_player_stats(season = 2022, round_number = 10, comp = "AFLW", source = "AFL") should work