Skip to content

Commit 233afbe

Browse files
committed
Updated model params, scores, schedule to 2025-12-26
1 parent c2f59a6 commit 233afbe

File tree

10 files changed

+5
-2
lines changed

10 files changed

+5
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Imports:
2727
Remotes: pbulsink/naturalstattrick
2828
URL: https://github.com/pbulsink/HockeyModel
2929
BugReports: https://github.com/pbulsink/HockeyModel/issues
30-
RoxygenNote: 7.3.1
30+
RoxygenNote: 7.3.3
3131
Suggests:
3232
knitr,
3333
rmarkdown,

HockeyModel.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: 09acf3dc-5db6-4ee9-87e5-84507d26d0f6
23

34
RestoreWorkspace: No
45
SaveWorkspace: No

R/api-interface.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ getNHLScores <- function(gameIDs = NULL, schedule = HockeyModel::schedule, progr
180180
pb$tick()
181181
}
182182
}
183+
message("Now getting natural stat trick xG results")
183184

184185
gameIDs <- gameIDs[!(gameIDs %in% dropped_gid)]
185186

@@ -226,7 +227,8 @@ load_or_get_nst <- function(gid) {
226227
nstdf <- naturalstattrick::nst_report_df(
227228
season = season,
228229
game_id = game_id
229-
) %>%
230+
)
231+
nstdf <- nstdf %>%
230232
dplyr::mutate("game_id" = gid)
231233
utils::write.table(nstdf,
232234
file = "~/Documents/natstattrick.csv", append = TRUE,

data/beta.rda

9 Bytes
Binary file not shown.

data/eta.rda

4 Bytes
Binary file not shown.

data/k.rda

12 Bytes
Binary file not shown.

data/m.rda

-163 KB
Binary file not shown.

data/rho.rda

6 Bytes
Binary file not shown.

data/schedule.rda

-93 Bytes
Binary file not shown.

data/scores.rda

6.61 KB
Binary file not shown.

0 commit comments

Comments
 (0)