OOTP Developments Forums

OOTP Developments Forums (https://forums.ootpdevelopments.com//index.php)
-   OOTP Mods - Database Tools (https://forums.ootpdevelopments.com//forumdisplay.php?f=3633)
-   -   2 MySQL Data Questions (https://forums.ootpdevelopments.com//showthread.php?t=277415)

cavebutter 04-17-2017 10:33 AM

2 MySQL Data Questions
 
I've fallen down a rabbit hole again. I am a novice with MySQL, but my questions have more to do with specific OOTP data than with SQL itself (I have books and the internet for that). Cross-posting to the General forum too, as I am not sure how much traffic this sub-forum gets, so trying my luck there as well.

1. On the players_career_batting _stats table, there is a field called split_id, and it effectively breaks a player's season into different records. In most cases, the player is on the same team in the same year for these splits. My question is, how do I interpret these splits? What do they mean?

2. Where can I find players' historical salaries? The players_contract table seems to only show the values for their current contracts.

Thanks!

fhomess 04-17-2017 07:40 PM

Quote:

Originally Posted by cavebutter (Post 4186977)
1. On the players_career_batting _stats table, there is a field called split_id, and it effectively breaks a player's season into different records. In most cases, the player is on the same team in the same year for these splits. My question is, how do I interpret these splits? What do they mean?

The split_id field defines the scope of the data and is slightly different depending on the table. The batting and pitching tables both use 1 to define regular season stats.

1 - Regular Season Totals
2 - Regular Season Vs LH
3 - Regular Season Vs RH
21 - Postseason

The fielding table uses 0 for regular season stats and doesn't give you any other splits.

Quote:

Originally Posted by cavebutter (Post 4186977)
2. Where can I find players' historical salaries? The players_contract table seems to only show the values for their current contracts.

You can't. OOTP doesn't export historical salaries.

cavebutter 04-18-2017 10:49 AM

Thanks!!


Sent from my iPhone using Tapatalk


All times are GMT -4. The time now is 01:59 PM.

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