Skip to content

Internal load_wnba_games() for update_wnba_db() only goes to 2022 #41

@rplain1

Description

@rplain1

Describe the bug
When you use update_wnba_db(), the internal load_wnba_games() pulls from the csv "https://raw.githubusercontent.com/sportsdataverse/wehoop-data/main/wnba/wnba_games_in_data_repo.csv", which isn't updated. The max value is 2022-09-18

To Reproduce

load_wnba_games <- function() {
  .url <- "https://raw.githubusercontent.com/sportsdataverse/wehoop-data/main/wnba/wnba_games_in_data_repo.csv"
  con <- url(.url)
  dat <- utils::read.csv(con)
  # close(con)
  return(dat)
}
t <- load_wnba_games()
max(t$date)
#> [1] "2022-09-18T20:00Z"

Expected behavior
Games would be updated through the 2024 season

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions