View source: R/api-interface.R
updateScoresAPI | R Documentation |
Update past scores using the NHL API
updateScoresAPI(
scores = HockeyModel::scores,
schedule = HockeyModel::schedule,
full_season = FALSE,
save_data = FALSE
)
scores |
old scores |
schedule |
current schedule |
full_season |
whether to re-scrape the full season |
save_data |
whether to write the data to package |
data frame of scores, after optionally writing to package data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.