order_matchdata: Order Match Dataset

Description Usage Arguments Value

View source: R/classify_utils.R

Description

A function that takes an arbitrary data frame consisting of match data and orders it by date in ascending order.

Usage

1
order_matchdata(matchData, formatter = "%d.%m.%Y")

Arguments

matchData

A data frame that contains rows of single matches that have been played between two teams.

formatter

A string that defines how the dates coming in should look, i.e. allow for any kind of standard date formats.

Value

A data frame that has been ordered by date.


niallbenj/footballstats documentation built on Aug. 13, 2019, 5:12 p.m.