updateScoresAPI: Update past scores using the NHL API

View source: R/api-interface.R

updateScoresAPIR Documentation

Update past scores using the NHL API

Description

Update past scores using the NHL API

Usage

updateScoresAPI(
  scores = HockeyModel::scores,
  schedule = HockeyModel::schedule,
  full_season = FALSE,
  save_data = FALSE
)

Arguments

scores

old scores

schedule

current schedule

full_season

whether to re-scrape the full season

save_data

whether to write the data to package

Value

data frame of scores, after optionally writing to package data


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