maketable_eng: Make an English league table

View source: R/maketable_eng.R

maketable_engR Documentation

Make an English league table

Description

Make an English league table

Usage

maketable_eng(
  df = NULL,
  Season = NULL,
  tier = NULL,
  division = NULL,
  penalties = FALSE
)

Arguments

df

The results dataframe

Season

The Season

tier

The tier - must be included

division

The division

penalties

Whether to account for points penalties

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

Examples

maketable_eng(df=england,Season=1920,tier=1)
maketable_eng(df=england,Season=1947,division="3N",tier=3)
maketable_eng(df=england,Season=1975,tier=1)
maketable_eng(df=england,Season=1975,tier=2)
maketable_eng(df=england,Season=2007,tier=3, penalties=TRUE)

jalapic/engsoccerdata documentation built on Nov. 15, 2022, 3:34 a.m.