### Install fitzRoy from GitHub Source: https://github.com/jimmyday12/fitzroy/blob/main/README.md Install the development version of the fitzRoy package from GitHub using devtools. ```r # install.packages("devtools") devtools::install_github("jimmyday12/fitzRoy") ``` -------------------------------- ### Install fitzRoy from CRAN Source: https://github.com/jimmyday12/fitzroy/blob/main/README.md Install the released version of the fitzRoy package from CRAN. ```r install.packages("fitzRoy") ``` -------------------------------- ### Fetch AFL Data Examples Source: https://github.com/jimmyday12/fitzroy/blob/main/README.md Demonstrates fetching various types of AFL data using different fetch functions and parameters. ```r fetch_fixture(season = 2020, comp = "AFLM") fetch_lineup(season = 2021, round_number = 1, comp = "AFLW") fetch_results(season = 2020, round_number = 1, comp = "AFLW") fetch_ladder(season = 2020, source = "squiggle") fetch_player_stats(season = 2020, source = "fryzigg") fetch_player_details(team = "Hawthorn", current = TRUE, source = "AFL") ``` -------------------------------- ### Fetch AFLW Data Examples Source: https://github.com/jimmyday12/fitzroy/blob/main/README.md Examples for fetching AFL Women's data, including fixtures, results, and ladders. ```r fetch_fixture(season = 2020, comp = "AFLW") fetch_results(season = 2020, comp = "AFLW") fetch_ladder(season = 2020, comp = "AFLW") get_aflw_match_data() ``` -------------------------------- ### Fetch Non-AFL Data Examples Source: https://github.com/jimmyday12/fitzroy/blob/main/README.md Demonstrates fetching data for non-AFL competitions like VFL and WAFL using the 'AFL' source. ```r fetch_fixture(2022, source = "AFL", comp = "VFL") fetch_player_stats(2022, round = 1, source = "AFL", comp = "VFLW") fetch_fixture(2022, source = "AFL", comp = "WAFL") ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.