jflancer / bigballR

Package for working with NCAA Basketball Data
Other
61 stars 19 forks source link

Error running get_team_roster and get_team_schedule #25

Closed ehrenj1 closed 2 years ago

ehrenj1 commented 2 years ago

Hi Jake,

I was getting an error when I try to use the get_team_roster and get_team_schedule functions and it is caused by the following line: file_url <- url(url_text, headers = c("User-Agent" = "My Custom User Agent"))

image

I just reinstalled the package and updated all the necessary packages that needed update. Any idea what could be causing this? Thanks in advance!

Justin

evanmiyakawa commented 2 years ago

Not entirely sure what is causing the problem here, but you only need either team.id OR season and team.name arguments.

ehrenj1 commented 2 years ago

Hi Evan,

Thanks for the response. I am still getting that error even after changing the inputs: [image: image.png]

It seems like it is an issue with that "url" function. Do you know what package that is a part of? It looks like the url package that my session is using does not have "headers" as an input, so I am guessing it is maybe using a different "url" function. [image: image.png]

Thanks, Justin

On Mon, Dec 6, 2021 at 12:23 PM Evan Miyakawa @.***> wrote:

Closed #25 https://github.com/jflancer/bigballR/issues/25.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jflancer/bigballR/issues/25#event-5722152524, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANZ3K5HXBETXIJHW2TBXFYTUPTWP5ANCNFSM5JDLQOPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

evanmiyakawa commented 2 years ago

I can't see your attached image.

ehrenj1 commented 2 years ago

Alright I have tried attaching it as an image. Let me know if it works.

On Sat, Dec 18, 2021 at 5:13 PM Evan Miyakawa @.***> wrote:

I can't see your attached image.

— Reply to this email directly, view it on GitHub https://github.com/jflancer/bigballR/issues/25#issuecomment-997291977, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANZ3K5HPAM6MMHKLW6JRMO3URUBQ7ANCNFSM5JDLQOPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>