Skip to contents

The minor leagues have gone through significant restructuring a couple of times (1990 and 2020), so we can't statically map each league to a level. This function takes a vector of years and returns a mapping from league_id to level for each year.

Usage

get_league_level_by_year(year)

Arguments

year

integer vector of years

Value

a table of level indexed by league_id and year