Package: fitzRoy 1.5.0.9000

fitzRoy: Easily Scrape and Process AFL Data

An easy package for scraping and processing Australia Rules Football (AFL) data. 'fitzRoy' provides a range of functions for accessing publicly available data from 'AFL Tables' <https://afltables.com/afl/afl_index.html>, 'Footy Wire' <https://www.footywire.com> and 'The Squiggle' <https://squiggle.com.au>. Further functions allow for easy processing, cleaning and transformation of this data into formats that can be used for analysis.

Authors:James Day [cre, aut], Robert Nguyen [aut], Matthew Erbs [ctb], Oscar Lane [aut], Jason Zivkovic [ctb], Jacob Holden [ctb]

fitzRoy_1.5.0.9000.tar.gz
fitzRoy_1.5.0.9000.zip(r-4.5)fitzRoy_1.5.0.9000.zip(r-4.4)fitzRoy_1.5.0.9000.zip(r-4.3)
fitzRoy_1.5.0.9000.tgz(r-4.4-any)fitzRoy_1.5.0.9000.tgz(r-4.3-any)
fitzRoy_1.5.0.9000.tar.gz(r-4.5-noble)fitzRoy_1.5.0.9000.tar.gz(r-4.4-noble)
fitzRoy_1.5.0.9000.tgz(r-4.4-emscripten)fitzRoy_1.5.0.9000.tgz(r-4.3-emscripten)
fitzRoy.pdf |fitzRoy.html
fitzRoy/json (API)

# Install 'fitzRoy' in R:
install.packages('fitzRoy', repos = c('https://jimmyday12.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jimmyday12/fitzroy/issues

Datasets:

    On CRAN:

    42 exports 129 stars 4.94 score 47 dependencies 324 scripts 662 downloads

    Last updated 13 days agofrom:1adbdf298d. Checks:OK: 6 ERROR: 1. Indexed: yes.

    TargetResultDate
    Doc / VignettesOKSep 05 2024
    R-4.5-winOKSep 05 2024
    R-4.5-linuxOKSep 05 2024
    R-4.4-winOKSep 05 2024
    R-4.4-macERRORSep 05 2024
    R-4.3-winOKSep 05 2024
    R-4.3-macOKSep 05 2024

    Exports:%>%calculate_coaches_vote_possibilitiesfetch_betting_odds_footywirefetch_coaches_votesfetch_fixturefetch_fixture_aflfetch_fixture_footywirefetch_fixture_squigglefetch_ladderfetch_ladder_aflfetch_ladder_afltablesfetch_ladder_squigglefetch_lineupfetch_lineup_aflfetch_player_detailsfetch_player_details_aflfetch_player_details_afltablesfetch_player_details_footywirefetch_player_statsfetch_player_stats_aflfetch_player_stats_afltablesfetch_player_stats_footywirefetch_player_stats_fryziggfetch_resultsfetch_results_aflfetch_results_afltablesfetch_results_footywirefetch_results_squigglefetch_score_worm_datafetch_squiggle_dataget_afl_cookieget_aflw_detailed_dataget_aflw_detailed_match_dataget_aflw_round_dataget_aflw_roundsparse_team_abbrplot_score_wormplot_score_worm_totalsreplace_teamsreplace_venuesteam_abr_aflteam_abr_afl2

    Dependencies:askpassbitbit64clicliprcpp11crayoncurldplyrfansigenericsgluehmshttrhttr2janitorjsonlitelifecyclelubridatemagrittrmimeopensslpillarpkgconfigprettyunitsprogresspurrrR6rappdirsreadrrlangrvestselectrsnakecasestringistringrsystibbletidyrtidyselecttimechangetzdbutf8vctrsvroomwithrxml2

    AFL Womens Example

    Rendered fromwomens-stats.Rmdusingknitr::rmarkdownon Sep 05 2024.

    Last update: 2024-07-04
    Started: 2018-11-07

    AFLCA Coaches Votes Functions

    Rendered fromaflca-coaches-votes.Rmdusingknitr::rmarkdownon Sep 05 2024.

    Last update: 2024-07-04
    Started: 2021-09-27

    Docker Support

    Rendered fromdocker-support.Rmdusingknitr::rmarkdownon Sep 05 2024.

    Last update: 2023-04-06
    Started: 2021-01-27

    ELO Ratings Example

    Rendered fromelo-ratings-example.Rmdusingknitr::rmarkdownon Sep 05 2024.

    Last update: 2024-07-04
    Started: 2019-01-12

    Fetching Player Details

    Rendered fromplayer-details.Rmdusingknitr::rmarkdownon Sep 05 2024.

    Last update: 2024-07-04
    Started: 2022-01-10

    Introduction to fitzRoy

    Rendered fromfitzRoy.Rmdusingknitr::rmarkdownon Sep 05 2024.

    Last update: 2024-07-04
    Started: 2021-01-27

    Main Fetch functions

    Rendered frommain-fetch-functions.Rmdusingknitr::rmarkdownon Sep 05 2024.

    Last update: 2024-07-04
    Started: 2021-01-27

    Score-worms

    Rendered fromscore-worms.Rmdusingknitr::rmarkdownon Sep 05 2024.

    Last update: 2024-09-05
    Started: 2024-09-05

    Using Fryzigg API

    Rendered fromusing-fryzigg-stats.Rmdusingknitr::rmarkdownon Sep 05 2024.

    Last update: 2024-07-04
    Started: 2020-06-11

    Using the Squiggle API

    Rendered fromusing-squiggle-api.Rmdusingknitr::rmarkdownon Sep 05 2024.

    Last update: 2024-07-04
    Started: 2021-01-27

    Readme and manuals

    Help Manual

    Help pageTopics
    Calculate Coaches Vote Possibilitiescalculate_coaches_vote_possibilities
    Fetch AFL match betting odds from https://www.footywire.comfetch_betting_odds_footywire
    Fetch Coaches Votesfetch_coaches_votes
    Return the fixture for a particular round of matchesfetch_fixture fetch_fixture_afl fetch_fixture_footywire fetch_fixture_squiggle
    Fetch Ladderfetch_ladder fetch_ladder_afl fetch_ladder_afltables fetch_ladder_squiggle
    Return the selected lineup for any completed or upcoming matchesfetch_lineup fetch_lineup_afl
    Fetch Player Detailsfetch_player_details fetch_player_details_afl fetch_player_details_afltables fetch_player_details_footywire
    Fetch Player Statsfetch_player_stats fetch_player_stats_afl fetch_player_stats_afltables fetch_player_stats_footywire fetch_player_stats_fryzigg
    Fetch Resultsfetch_results fetch_results_afl fetch_results_afltables fetch_results_footywire fetch_results_squiggle
    Plot Score Wormfetch_score_worm_data
    Access Squiggle data using the squiggle API service.fetch_squiggle_data
    Returns a table with the colour palettes for all teamsget_afl_colour_palettes
    Get AFL Stats cookie (internal function)get_afl_cookie
    Get detailed AFLW dataget_aflw_detailed_data
    Get detailed womens match data (internal function)get_aflw_detailed_match_data
    Get match data (internal function)get_aflw_round_data
    Get rounds (internal function)get_aflw_rounds
    Get raw score progression dataget_score_progression_raw
    Internal function to ensure names match between different sources and also name changes. This gets applied to any web scraperparse_team_abbr
    Plot Score Wormplot_score_worm
    Plot Score Worm Totalsplot_score_worm_totals
    Internal function to ensure names match between different sources and also name changes. This gets applied to any web scraperreplace_teams
    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.replace_venues
    Internal function to return team name abbreviation for AFL APIteam_abr_afl