sportsdataverse / hoopR

An R package to quickly obtain clean and tidy men's basketball play by play data.
http://hoopr.sportsdataverse.org/
Other
83 stars 18 forks source link

Error downloading current season data, schedule #130

Open EricPPeterson opened 1 year ago

EricPPeterson commented 1 year ago

When I try and download the 2023-2024 schedule, pbp data and player box scores, I get an error:

x <- load_nba_schedule(seasons = most_recent_nba_season()) Warning messages: 1: In readRDS(con) : cannot open URL 'https://raw.githubusercontent.com/sportsdataverse/hoopR-data/main/nba/schedules/rds/nba_schedule_2024.rds': HTTP status was '404 Not Found' 2: Failed to readRDS from <https://raw.githubusercontentI .com/sportsdataverse/hoopR-data/main/nba/schedules/rds/nba_schedule_2024.rds>

I get the same issue when trying to download anything from the 2023-2024 season. Has this data just not been uploaded yet?

thanks ..

Eric

Coop197823 commented 1 year ago

similar issue to mine that has been closed. I had to update the package and it worked fine

aggieed97 commented 1 year ago

@Coop197823 Yes, I had seen that your issue had been closed, but the link that the data is supposed to be coming from doesn't exist. I have v2.0.1 as well, and it still doesn't work.

image
Coop197823 commented 1 year ago

I see it here at this link, and this is the directory you should be pointed to (or well at least I am) https://github.com/sportsdataverse/sportsdataverse-data/releases/tag/espn_nba_schedules

also try to specify hoopR:: in hoopR::load_nba_schedule(seasons = most_recent_nba_season())

aggieed97 commented 1 year ago

Womp, womp. You are correct. NBA scheds are in but it looks like the NCAA Men's Basketball sched is not yet updated for 2023-2024. I saw that you already opened up another issue for that a few days ago.

Coop197823 commented 1 year ago

@aggieed97 you should respond to my issue to see if we can get an expedited solution

saiemgilani commented 1 year ago
remotes::install_github("sportsdataverse/hoopR")

And try again.