load_audl_team_stats: Load AUDL team statistics

View source: R/audl_scraping.R

load_audl_team_statsR Documentation

Load AUDL team statistics

Description

Loads AUDL team statistics from the specified season into memory, scraped from the AUDL website.

Usage

load_audl_team_stats(season, stat_type = "game", team_type = "team")

Arguments

season

The season for which data is requested. All seasons since 2012 are documented, not including 2020 when the AUDL season was cancelled due to the COVID-19 pandemic.

stat_type

The desired statistic type. Set to "game" by default, for per-game statistics. Can also be set to "total" for total statistics.

team_type

Which team the returned statistics should describe. "team" is the default, and will return the statistics for each team. "opponent" will return statistics for opponent performance against each team.

Examples

load_audl_team_stats(2022)
load_audl_team_stats(2022, stat_type = "total", team_type = "opponent")

bbwieland/fRisbee documentation built on Aug. 30, 2022, 11:18 p.m.