Learn R Programming

hockeyR (version 1.3.0)

get_standings: Load team standings

Description

Get full regular season standings for given year(s), including win-loss record and goals for and against

Usage

get_standings(seasons = as.numeric(format(Sys.Date() + 78, "%Y")))

Value

A tibble containing team records and stats for given year

Arguments

seasons

End year of seasons to pull

Examples

Run this code
if (FALSE) {
get_standings(2022)
}

Run the code above in your browser using DataLab