Skip to content

Commit

Permalink
Merge pull request #121 from rossdrucker/issue-120/game-date-field
Browse files Browse the repository at this point in the history
Issue 120/game date field
  • Loading branch information
shufinskiy committed Aug 24, 2023
2 parents f9c5617 + ed5269b commit 61ae1df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
@@ -1,6 +1,6 @@
Package: hoopR
Title: Access Men's Basketball Play by Play Data
Version: 2.0.0
Version: 2.0.1
Authors@R:
c(person(given = "Saiem",
family = "Gilani",
Expand Down
2 changes: 1 addition & 1 deletion R/nba_stats_scoreboard.R
Expand Up @@ -117,7 +117,7 @@ nba_schedule <- function(
.data$season_type_id == 3 ~ "All-Star",
.data$season_type_id == 4 ~ "Playoffs",
.data$season_type_id == 5 ~ "Play-In Game"),
game_date = lubridate::ymd(substring(.data$game_date,1,10)))
game_date = lubridate::mdy(substring(.data$game_date,1,10)))

},
error = function(e) {
Expand Down

0 comments on commit 61ae1df

Please sign in to comment.