RotoGuru Baseball Forum

View the Forum Registry

XML Get RSS Feed for this thread


Self-edit this thread


0 Subject: MLB DFS data file

Posted by: Guru
- [330592710] Wed, Mar 09, 2016, 11:02

I put together a massive file of game-by-game data from the 2015 MLB season (regular and postseason). Data provided includes:
  • Game by game data for each player showing DFS points, salaries, and positions for FanDuel, DraftKings, Star Fantasy, 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
The file provides one line per player per game. At the maximum, it includes all active hitters for each game day (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 will provide 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-2015-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-2015.pl?end=20151004&incl=0

For 2016, this file will be updated daily, and will also list all players and DFS salary & position info for the pending game day (similar to the approach used for the NBA file). I plan to include Yahoo DFS salaries and points as well. I cannot guarantee that the 2016 file will be available on opening day, but I hope to have it up within a few days of the season opener. The file will be offered for free for at least part of April, but then will switch to a subscription basis for the rest of the season. I have not yet settled on a subscription price.

The text download that I previously provided on the RotoGuru Daily Points page will be discontinued n 2016. That report will be available only in HTML format.

Note that, as is the case with the similar NBA file, this is provided solely for personal use. Commercial usage or reproduction of the data file is prohibited.

1Guru
      ID: 330592710
      Fri, May 27, 2016, 16:58
For information on the 2016 version of this file, including a link to subscribe, go here:
http://rotoguru1.com/cgi-bin/getcred.pl
2Guru
      ID: 330592710
      Wed, Jun 01, 2016, 10:51
If you're a FanDuel player, you probably know that the FanDuel point formula has changed a few times in the past year.

At the start of 2016, many of the factors were tripled - so that the resulting point values for 2016 are approximately three times greater than they were in 2015. Not all factors were tripled, though - so you can't automatically multiply 2015 values by three to adjust to the 2016 result.

Then, on April 27 this year, another change was made for hitters, adjusting the factor for runs scored from 3 to 3.2, and the factor for RBI from 3 to 3.5.

So far, all of the reporting on DailyBaseballData.com and RotoGuru uses only the formula that was in effect on each game day. So the same set of underlying stats could produce different FanDuel point (FDP) values depending on whether they were generated in 2015, or pre-4/27/16, or now.

I've received several requests to provide some means to restate all point values to the current formula basis. And now, I've done it.

The only place to get these updated FDP values is in the master files for 2015 and 2016. Let me address the mechanics for each separately.

The 2015 master file is available at
rotoguru1.com/cgi-bin/mlb-dbd-2015.pl?.
It is available for free, and notes for usage are found in
rotoguru1.com/base/mlb-dbd-2015-notes.txt.
If you wish to regenerate FDP using the current 2016 formula, then append &fdp=2016 to the URL. So, for example, use
rotoguru1.com/cgi-bin/mlb-dbd-2015.pl?fdp=2016
(which uses default values for all other selection criteria). This will provide one additional data element at the end of each line, which is the FDP value for that player's game using the current 2016 formula.

For 2016 data, there are some differences in approach. First, the master file is only available as a premium service. For more info - or to subscribe - go here:
rotoguru1.com/cgi-bin/getcred.pl.
Non-subscribers can view a sample file at
rotoguru1.com/cgi-bin/mlb-dbd-2016.pl?.
Detailed usage notes are at
rotoguru1.com/base/mlb-dbd-2016-notes.txt.
The file is updated daily.

By default, this 2016 file still produces FDP values based on the formula in effect on each game day. To restate all FDP values prior to April 27 to the new basis, you must append &fdpnew=1 to the URL.
Sample: rotoguru1.com/cgi-bin/mlb-dbd-2016.pl?fdnew=1
With this option, FDP values for hitters prior to April 27 will be overwritten with the values calculated by the current formula.

3 John
      ID: 42472512
      Sat, Mar 25, 2017, 13:47
Will there be a 2017 version of this file once the season starts?
4Guru
      ID: 330592710
      Mon, Mar 27, 2017, 12:43
Yes. File may not be available until sometime during the first week. Will be free in April, subscription only starting May 1. Details to follow.
Rate this thread:
5 (top notch)
4 (even better)
3 (good stuff)
2 (lightweight)
1 (no value)
If you wish, you may rate this thread on scale of 1-5. Ratings should indicate how valuable or interesting you believe this thread would be to other users of this forum. A '5' means that this thread is a 'must read'. A '1' means that this is a complete waste of time.

If you have previously rated this thread, rating it again will delete your previous rating.

If you do not want to rate this thread, but want to see how others have rated it, then click the button without entering a rating, or else click here.

RotoGuru Baseball Forum

View the Forum Registry

XML Get RSS Feed for this thread


Self-edit this thread




Post a reply to this message: MLB DFS data file

Name:
Email:
Message:
Click here to create and insert a link
Click here to insert a block of hidden (spoiler) text
Click here to insert a random spelling of Mientkiewicz
Ignore line feeds? no (typical)   yes (for HTML table input)


Viewing statistics for this thread
Period# Views# Users
Last hour11
Last 24 hours22
Last 7 days76
Last 30 days2219
Since Mar 1, 20071316979552