cpsievert / pitchRx

Tools for scraping MLB Gameday data and Visualizing PITCHf/x
http://cpsievert.github.io/pitchRx/
Other
123 stars 33 forks source link

scrape produces error #73

Open swiftaw opened 4 years ago

swiftaw commented 4 years ago

Every scrape call results in the following error message: Error in function (type, msg, asError = TRUE) :

cpsievert commented 3 years ago

Does remotes::install_github("cpsievert/pitchRx") help at all?

Mpellet771 commented 3 years ago

It doesn't help. There's some request to update the gids. How do we do that?

Katiedaisey commented 2 years ago

I'm working on fixing this for the new MLB api. Does anyone have some example data they pulled previously so I can keep the format consistent?

Mpellet771 commented 2 years ago

I have an SQLlite file that may help. Don't have any raw downloads.

Katiedaisey commented 2 years ago

@Mpellet771 good place to start I guess. If you could send it to me or put it up on your GitHub, I’ll fork it. Thanks

Mpellet771 commented 2 years ago

Hey, actually, the MLB shut down the gd2 (gameday) server. We now have to go to mlbstats. See this article: https://www.npmjs.com/package/mlb-stats-api

Katiedaisey commented 2 years ago

Yup, I’ve already pulled data from the new site and have their framework mapped. I just need to know what to map it to.

On Jun 28, 2022, at 7:38 PM, Mpellet771 @.***> wrote:

 Hey, actually, the MLB shut down the gd2 (gameday) server. We now have to go to mlbstats. See this article: https://www.npmjs.com/package/mlb-stats-api

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

Mpellet771 commented 2 years ago

Great! I've added the create tables set of commands to my repository (the actual database is too big). See here: Mpellet771 / BaseballSQL