cleanupPredictionsFile: Cleanup Predictions File

View source: R/league.R

cleanupPredictionsFileR Documentation

Cleanup Predictions File

Description

Sometimes the predictions file may end up with game duplicates (last minute postponements, etc,) This deduplicates, taking only the latest instance of a prediction (Games are unique by GameID)

Usage

cleanupPredictionsFile(
  filepath = file.path(getOption("HockeyModel.data.path"), "dailyodds.csv")
)

Arguments

filepath

file path to cleanup


pbulsink/HockeyModel documentation built on Dec. 16, 2024, 8:03 a.m.