Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

most_recent_nba_season() (2024) not found #128

Closed
Coop197823 opened this issue Oct 26, 2023 · 5 comments
Closed

most_recent_nba_season() (2024) not found #128

Coop197823 opened this issue Oct 26, 2023 · 5 comments

Comments

@Coop197823
Copy link

code: hoopR::most_recent_nba_season() - returns 2024

when then running code:
mbb_team_schedule <- hoopR::load_nba_schedule(seasons = most_recent_nba_season())
an error retruns:

Warning messages:
1: In readRDS(con) :
cannot open URL 'https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_schedules/nba_schedule_2024.rds': HTTP status was '404 Not Found'
2: Failed to readRDS from https://github.com/sportsdataverse/sportsdataverse-data/releases/download/espn_nba_schedules/nba_schedule_2024.rds

when going to the site: https://github.com/sportsdataverse/sportsdataverse-data/releases/tag/espn_nba_schedules
It seems that ESPN does not have a 2024 season schedule. Do you know if this is something that will be updated and if so when?

@bzigterman
Copy link

bzigterman commented Oct 26, 2023

Similar issue when running load_nba_team_box:

> load_nba_team_box(seasons = most_recent_nba_season())
─────────────────────────────────────────────────────────────────────────────── hoopR 1.8.0 ──
# A tibble: 0 × 0
Warning messages:
1: In readRDS(con) :
  cannot open URL 'https://raw.githubusercontent.com/sportsdataverse/hoopR-data/main/nba/team_box/rds/team_box_2024.rds': HTTP status was '404 Not Found'
2: Failed to readRDS from <https://raw.githubusercontent.com/sportsdataverse/hoopR-data/main/nba/team_box/rds/team_box_2024.rds> 

@saiemgilani
Copy link
Collaborator

I hear you fellas, I'm busy rn with professional NBA work. I will try to get to updating the data repositories for 2024

@Coop197823
Copy link
Author

No worries mate, I appreciate the update. Look forward to your work, it is much appreciated.

@saiemgilani
Copy link
Collaborator

Try now and if you're still having issues, please make sure to update your package with:

remotes::install_github('sportsdataverse/hoopR')

then refresh your R session and check again. If issues persist from that point, please holler

@Coop197823
Copy link
Author

working as intended now, ty!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants