append_seasons: append_seasons

View source: R/append_seasons.R

append_seasonsR Documentation

append_seasons

Description

Using the date of the fixture, the season is appended to a data frame of fixtures. Typically seasons run from August to May however Covid rescheduling increased the length of the season in 2021.

Usage

append_seasons(x)

Arguments

x

A data.frame of fixtures with a date column

Value

This function returns a data.frame with the following column appended:

season

Character values representing the season that each match was played in.

Author(s)

Daf Howells <dafhowells@yahoo.co.uk>

Examples

## Not run: 
df <- append_seasons()

## End(Not run)

dafyddhowells/randy documentation built on Nov. 1, 2022, 4:01 p.m.