Learn R Programming

⚠️There's a newer version (1.6.0) of this package.Take me there.

fitzRoy (version 0.3.3)

Easily Scrape and Process AFL Data

Description

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' , 'Footy Wire' and 'The Squiggle' . Further functions allow for easy processing, cleaning and transformation of this data into formats that can be used for analysis.

Copy Link

Version

Install

install.packages('fitzRoy')

Monthly Downloads

555

Version

0.3.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

James Day

Last Published

January 12th, 2021

Functions in fitzRoy (0.3.3)

fetch_ladder_afl

Get AFL ladder
get_aflw_cookie

Get AFL Stats cookie (internal function)
get_aflw_rounds

Get rounds (internal function)
fetch_ladder

Fetch ladder
get_fixture

Get upcoming fixture from https://www.footywire.com
get_footywire_stats

Scrape footywire player statistics.
get_fryzigg_stats

Return get match stats from fryziggafl.net/api/
get_footywire_match_results

Get footywire Match Results
get_footywire_betting_odds

Get AFL match betting odds from https://www.footywire.com
get_aflw_detailed_match_data

Get detailed womens match data (internal function)
get_score_progression_raw

Get raw score progression data
get_aflw_match_data

Get AFLW match data
get_aflw_player_stats

Return get match stats for all current AFLW matches
get_squiggle_data

Access Squiggle data using the squiggle API service.
get_aflw_detailed_data

Get detailed AFLW data
get_aflw_round_data

Get match data (internal function)
replace_venues

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.
update_footywire_stats

Update the included footywire stats data to the specified date.
replace_teams

Internal function to ensure names match between different sources and also name changes. This gets applied to any web scraper
return_ladder

Recreate the ladder for every or any given round and/or season
scrape_afltables_match

Return afltables player match stats
verify_year

Returns year as numeric after verifying the validity of the year.
get_match_results

Get basic match results from afltables.com
get_match_data

Helper function for get_footywire_stats
get_afl_fixture

Get AFL fixture
get_afl_cookie

Get AFL Stats cookie (internal function)
get_afltables_stats

Return afltables match stats
footywire_html

Helper function for get_footywire_stats
convert_results

Convert AFL Men's results into long format
get_afltables_urls

Return match URLs for specified dates
get_afl_colour_palettes

Returns a table with the colour palattes for all teams
fitzRoy-package

fitzRoy: Easily Scrape and Process AFL Data