eoppe1022 / elite

A Package for Scraping Hockey Data from EliteProspects
32 stars 14 forks source link

get_drafts HTTP error 404 #1

Closed gregalytics closed 5 years ago

gregalytics commented 6 years ago

getting the following when I run some of the sample code. Tried with "nhl" and "nhl_entry_draft".

draft <- get_drafts("nhl", "2018") get_drafts() [--------------------------------------------------------------------------------------------------] 0% eta: ?sError in open.connection(x, "rb") : HTTP error 404.

eoppe1022 commented 6 years ago

Hey thanks for trying the package, and apologies for the delay in my response

Have you tried get_drafts("nhl entry draft", "2018")? That works for me

gregalytics commented 6 years ago

That worked, but getting an issue on a cbind for certain draft years: get_drafts("nhl entry draft", 2002)

eoppe1022 commented 6 years ago

weird, I'm not sure why that's not working. I'll check that out soon

eoppe1022 commented 5 years ago

FIXED

try re-downloading

it was a joining issue that was pretty dumb of me, but that fixed it.