Learn R Programming

fitzRoy (version 0.3.3)

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

Description

get_fixture returns a dataframe containing upcoming AFL Men's season fixture.

Usage

get_fixture(season = lubridate::year(Sys.Date()), convert_date = FALSE)

Arguments

season

Season to return, in yyyy format

convert_date

logical, if TRUE, converts date column to date format instead of date time.

Value

Returns a data frame containing the date, teams and venue of each game

Details

The dataframe contains the home and away team as well as venue.

Examples

Run this code
# NOT RUN {
get_fixture(2018)
# }

Run the code above in your browser using DataLab