We can use the
get_aflw_match_data() function to retrieve match data for all matches.
Note that we are getting a few warnings: this is to tell us that the fixture has been downloaded for 2019, but no match data is available yet. Note that you will not be able to retrieve detailed stats for these games, so make sure you don’t try to request detailed stats for these match IDs.
get_aflw_detailed_data() can be used to return more detailed data than the match data shown above. It takes a vector of match IDs as an argument. For example, let’s say we want detailed stats for the first 10 games in
match_data above. Then we would do: