Home | Webstore
Latest News: OOTP 26 Available - FHM 11 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 21 > OOTP 21 - General Discussions

OOTP 21 - General Discussions Everything about the brand new version of Out of the Park Baseball - officially licensed by MLB and the MLBPA.

Reply
 
Thread Tools
Old 09-04-2020, 02:15 PM   #1
chucksabr
Hall Of Famer
 
chucksabr's Avatar
 
Join Date: Sep 2013
Location: In the canyons of your mind
Posts: 3,190
CSV Files: What Do Some of the Headers Stand For?

I am want to download CSV files from my league and create an Excel pivot table (PVT) where I can keep track of offensive and pitching performances for the league in a format I can easily manipulate, and without having to open the game itself to look at them.

I have successfully set up PVTs using the players_game_batting and players_game_pitching_stats file, both of which report game-level results for individual players, which I can also scope outward to provide team- and league-level stats as well.

Now I am trying to do the same for individual at bats (i.e., using the players_at_bat_batting_stats.csv), so I can essentially develop a PVT for batting and pitching splits. Problem is, I cannot decode what several of the columns and their data mean.

I was hoping (still am) that there is a guide or manual that delineates what all the headers and data in all the CSV files mean, but I haven't found anything like that yet, so hopefully someone here can help me decode at least these.

The columns I need help are these:
  • Result: the data range from 1 through 11. What outcomes do each of these refer to?
  • Hit location: The data range from 0 through 105, as well as 255. Where do these refer to?
  • Hit_xy: The data range from 0 through 255, where do these refer to?
If anyone knows what these mean, would really appreciate the info. Even better, if anyone knows if there's a resource explaining what all the columns mean on all the files, that would rock.

Thanks!
chucksabr is offline   Reply With Quote
Old 09-04-2020, 02:49 PM   #2
Matt Arnold
OOTP Developer
 
Matt Arnold's Avatar
 
Join Date: Jun 2009
Location: Here and there
Posts: 15,720
I don't know if we directly enumerate them anywhere.

Result are the following:
K
BB
OUT (generic, likely shouldn't appear in csv outputs since it usually gets translated to GO/FO)
GROUND_OUT
FLY_OUT
SINGLE
DOUBLE
TRIPLE
HOMERUN
HP
CI

Hit Location should basically map to the ballpark locations you can set in 3D: https://manuals.ootpdevelopments.com...park_locations It may end up being +/- 1 depending exactly on indexing, and there may be a few special case elements near the end of the list that don't mark to those park locations, but are stuff like home plate/1B/etc.., although I don't know off-hand which may or may not be used in the csv outputs.

hit_xy is a little complicated, but it's basically an index into the above zone for where the ball lands (or for infield plays, where the fielder supposedly picks up the ball). It's probably not really necessary or useful for what it sounds like you're trying to build, since it's more useful internally for mapping game action and 3D action.
Matt Arnold is offline   Reply With Quote
Old 09-04-2020, 05:37 PM   #3
chucksabr
Hall Of Famer
 
chucksabr's Avatar
 
Join Date: Sep 2013
Location: In the canyons of your mind
Posts: 3,190
Great, Matt, thanks!
chucksabr is offline   Reply With Quote
Reply

Bookmarks


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 03:41 PM.

 

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 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments