Home | Webstore
Latest News: OOTP 25 Available - FHM 10 Available - OOTP Go! Available

Out of the Park Baseball 25 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 25 > OOTP Mods > OOTP Mods - Database Tools
Register Blogs FAQ Calendar Today's Posts Search

OOTP Mods - Database Tools Do you need to take a dump? SQL gurus welcome

Reply
 
Thread Tools
Old 01-05-2012, 09:54 AM   #1
ctorg
Global Moderator
 
ctorg's Avatar
 
Join Date: Nov 2002
Location: Queens, NY
Posts: 9,848
players_at_bat_batting_stats help?

I'm trying to make myself a little Access database that will help me look at some splits for players. In order to do so, I need to get a better handle on what the fields represent in the players. Can anyone who knows help me with some of these questions?

  1. result - seems to be coded on a 1-9 scale, but I don't know what each number means. I assume each stands for an outcome (e.g., homerun, strikeout, etc.).
  2. sb/cs - do these fields show whether the batter stole/was caught when he got on base, or do they show what runners on base did while the batter was up?
  3. r - similarly, does this show whether the batter scored after reaching or whether someone scored during his ab?
Any info would be greatly appreciated.
__________________
My music

"When the trees blow back and forth, that's what makes the wind." - Steven Wright

Fjord emena pancreas thorax fornicate marmalade morpheme proteolysis smaxa cabana offal srue vitriol grope hallelujah lentils
ctorg is offline   Reply With Quote
Old 01-05-2012, 11:28 AM   #2
fhomess
Hall Of Famer
 
fhomess's Avatar
 
Join Date: Nov 2002
Posts: 3,585
Quote:
Originally Posted by ctorg View Post
1. result - seems to be coded on a 1-9 scale, but I don't know what each number means. I assume each stands for an outcome (e.g., homerun, strikeout, etc.).
1 - strikeout
2 - walk
3 - ??? - I've never seen this set. It may be intended for reaching on error, but errors are actually recorded as the type of out they would have generated (e.g. an error on a ground ball is marked with result=4)
4 - ground out
5 - fly out
6 - single
7 - double
8 - triple
9 - home run
10 - hit by pitch
11 - reaches on catcher's interference

Quote:
Originally Posted by ctorg View Post
2. sb/cs - do these fields show whether the batter stole/was caught when he got on base, or do they show what runners on base did while the batter was up?
The sb column means the player eventually stole a base
The cs column means the player eventually was caught stealing

Quote:
Originally Posted by ctorg View Post
3. r - similarly, does this show whether the batter scored after reaching or whether someone scored during his ab?
The r column means the player eventually came around to score

So the answer to the last two questions is that it relates to the batter himself after he becomes a baserunner. It is not what other players are doing during his PA.

Also, note that the balls and strikes columns reflect the count when the pitch was thrown that determined the plate appearance. So, for example, a player who walks (result=2) will show 3 in the balls column, not 4.
__________________
StatsLab- PHP/MySQL based utilities for Online Leagues
Baseball Cards - Full list of known templates and documentation on card development.

Last edited by fhomess; 01-05-2012 at 11:37 AM.
fhomess is offline   Reply With Quote
Old 01-05-2012, 12:12 PM   #3
ctorg
Global Moderator
 
ctorg's Avatar
 
Join Date: Nov 2002
Location: Queens, NY
Posts: 9,848
Thank you fhomess! This helps very much!
__________________
My music

"When the trees blow back and forth, that's what makes the wind." - Steven Wright

Fjord emena pancreas thorax fornicate marmalade morpheme proteolysis smaxa cabana offal srue vitriol grope hallelujah lentils
ctorg is offline   Reply With Quote
Reply

Bookmarks

Tags
database, fields, result


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:29 AM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments