Skip to contents

This function gets NBA standings as a data frame for a single or multiple seasons.

Usage

nba_standings(seasons, return_nested = FALSE)

Arguments

seasons

A numeric vector of seasons for which to get the standings data.

return_nested

A logical value. If FALSE (default), returns a single combined data frame for all seasons. If TRUE, returns a list of data frames, one for each season.

Value

A data frame containing the NBA standings data for the specified seasons.