Word from MLB was that the dware would be discontinued once all teams moved to the new api, and the dware folder was removed in late November. They will no longer be including Diamond Ware (Gameday) play strings as data recording is now done by touch screen. "Not supported" means that these gameday files that BBOS scrapes will not be upgraded. They may go away at some point but I'm not aware of any impending moves. All the data for each game is now in a single json file, publicly accessible at the...
I don't believe mlbam had a game_pk field in the early years. I'd suggest testing whether each of the keys exists in the downloaded data before trying to reference it. Brian -----Original Message----- From: Deez Nutz willkoky@users.sourceforge.net To: 820145 820145@discussion.baseballonastic.p.re.sourceforge.net Sent: Wed, Mar 13, 2019 3:58 pm Subject: [baseballonastic:discussion] Re: Error Loading 2019 Games I did get the same error on 2019. no timeline to fix it though. April I hope...?On Wed,...
In this example, I filtered by gamename, but you can by pitcher as well The duplicates were coming from incomplete parameters in the table joins. I've rearranged the order so that atbats is the primary table being scanned and filtered, while pitches and players are then reference files. Pitches needs both gamename and gameatbatid. Players needs both gamename and (player) id SELECT ab.pitcher, concat(r.last,", ",r.first) as name, ab.gameName, p.gameatbatid, p.pitch_type, p.ID, p.spin_rate, p.start_speed,...
boxscores - putting records into batters and pitchers If you don't want to bother with this it's OK. I was using an older version and this week wrote my own scraper instead. Brian -----Original Message----- From: Deez Nutz willkoky@users.sourceforge.net To: [baseballonastic:discussion] 820145@discussion.baseballonastic.p.re.sourceforge.net Sent: Tue, Apr 17, 2018 2:27 am Subject: [baseballonastic:discussion] Re: pitchfx data seems to be unavailable what table are you referring to in 2)? I think you've...
1) We had the issue with the folder names. I downloaded 6.6 and copied directorystructure.py into the folder for the older version I'm running. It didn't download any games using 'recent' but did when getting the whole year 2) There's one main reason I'm still using the old version. When downloading the boxscores BBOS doesn't assign a record ID number. When I process the data it must be in the correct order to determine away & home teams (when BO resets to 1, it's the home team) Multithreading the...
I have different versions in different folders and run a batch file that points to the one I want to use Brian -----Original Message----- From: Erin Bristow baseballgal@users.sourceforge.net To: [baseballonastic:discussion] 820145@discussion.baseballonastic.p.re.sourceforge.net Sent: Thu, Mar 29, 2018 7:08 pm Subject: [baseballonastic:discussion] pitchfx data seems to be unavailable Thanks for putting together a new version of this! I have all of 2017 in my DB, but I downloaded files that someone...
I haven't fixed it yet. Removing the trailing "/" at 3 places in directoryStructure.py (buildDayURL, getGameURLsForDay, getGameURLsForLastNumberOfDays) allows the scraper to read the days to get the list of games - but then it's missing the "/" in the finished game_url used to fetch the games. Any tips on where I can do that? I can play with it some more when I get a chance, but I also am doing my day job four days a week and then delivering data to MLB teams on the weekends. Which is why I need...
Further note from MLB regarding gd vs gd2 Also, it’s probably best to use gd.mlb.com rather than gd2.mlb.com… minor difference, but gd2.mlb.com is a node within the larger domain, so using gd.mlb.com will provide a little bit more stability. That probably will be transparent for you, but it’ll help on our end! However, that doesn’t solve the download problem. The request cannot have a slash after the date http://gd.mlb.com/components/game/win/year_2018/month_01/day_24 …instead of this: http://gd.mlb.com/components/game/win/year_2018/month_01/day_24/...