Thursday, April 7, 2016

Daily Baseball Data file for 2016: the Mother Lode

Prior to the start of the season, I released a massive data file of DFS data for the 2015 season. For details, see the blurb on April 1.

Today, I'm releasing a "beta" version of a similar file for the 2016 season. In addition to data for all games already played, this file includes DFS data for the current game day.

As a beta version, I acknowledge that there may be a few glitches and/or data inconsistencies in this file. If you note anything that looks wrong or suspicious, please send an email to davehall@rotoguru2.com.

Data provided includes:

  • Game by game data for each player showing DFS points, salaries, and positions for FanDuel, DraftKings, Yahoo, and DraftDay.
  • Data on batter and pitcher handedness (left/right), opposing starter and handedness, home vs away, team scores, batting order data, actual position data
  • Home plate umpire for each game
  • Weather conditions at gametime
  • Air density (ADI) data for the current game and the team's previous game
  • DFS salary and position data for all players in the current day's games
The file provides one line per player per game. At the maximum, it includes all active hitters for each game (regardless of whether they played in the game), and all pitchers who appeared in a game. You do have the ability to filter out hitter records for active hitters not playing or not starting, and you may also limit pitcher data only to those who start each game.

A note on raw stats: My licensing agreement with my basic stats provider (Sportradar) - the service that provides raw baseball stats, like hits, HR, strikeouts, etc. - restricts my ability to pass along those stats in any format that effectively makes me a provider of a competitive product offering. As such, you will not be able to use this baseball file to gather raw baseball stats - other than a very select few.

Notwithstanding the above, I am providing a select few raw stats for each player per game. For hitters, I'm currently providing PA (plate appearances) and a "Basic wOBA" numerator, as defined in this article: www.fangraphs.com/blogs/instagraphs/basic-woba-equation/
From this data, you can calculate the basic wOBA for a game of for a group of games.

For pitchers, I provide IP (innings pitched), indicate whether a win, loss, or save was earned, and whether a start was a QS (quality start).

Here is a link to a full description of the file, including access instructions:
http://rotoguru1.com/base/mlb-dbd-2016-notes.txt

Here is a sample link to the file, showing all starters for all regular season games: http://rotoguru1.com/cgi-bin/mlb-dbd-2016.pl

You can copy/paste the data into an excel spreadsheet, then select
Data->Text to columns->Delimited->Other : (colon)->Finish
to parse the data into columns.

This file will be updated daily (typically by about 4:30am ET). The file will be offered for free for the rest of April, but then will switch to a subscription basis for the rest of the season. The tentative price for 2016 is a one-time fee of $39.95, which will include access to this file as well as all other currently available text file formats of data produced at DBD and RotoGuru. Details on subscribing will be announced later this month.

Note that these text files are provided solely for personal use. Commercial usage or reproduction of the data file is prohibited.

No comments:

Post a Comment