Make an English league table

Share:

Description

Make an English league table

Usage

1
maketable_eng(df = NULL, Season = NULL, tier = NULL, division = NULL)

Arguments

df

The results dataframe

Season

The Season

tier

The tier - must be included

division

The division

Value

a dataframe with a league table

Notes

This table makes league tables according to the points and tie-breaking procedures that were in place for each league in each year It also does not evaluate points deducted from teams or if games were artificially awarded to one side based on games not being played.

Examples

1
2
3
4
5
maketable_eng(df=england,Season=1920,tier=1)
maketable_eng(df=england,Season=1947,division="3a",tier=3)
maketable_eng(df=england,Season=1975,tier=1)
maketable_eng(df=england,Season=1975,tier=2)
maketable_eng(df=england,Season=1981,tier=1)