Skip to contents

This function calculates schedule details (such as back-to-back games, rest days, etc.) for NBA data.

Usage

add_schedule_details(data)

Arguments

data

A data frame containing NBA stats for teams (must include columns such as season_year, team_id, game_date, etc.).

Value

A data frame containing the details for the corresponding season.