This is our old blog. It hasn't been active since 2011. Please see the link above for our current blog or click the logo above to see all of the great data and content on this site.

PI basics

Posted by Andy on February 16, 2009

Just thought I'd post some basics about how the PI works. I'm going to use Darnell Coles as an example since I mentioned him in my most recent post about 3-HR games.

Using batter-vs-pitcher, we can see who Coles faced the most.

                    **PA**  AB  H  2B 3B HR RBI  BB  SO   BA   OBP   SLG   OPS   SH  SF IBB HBP GDP G_miss YR_miss
+-----------------+-------+---+---+--+--+--+---+---+---+-----+-----+-----+-----+---+---+---+---+---+------+-------+
 Bud Black            35    33   6  1  0  0   2   1   0  .182  .200  .212  .412   0   1   0   0   3                
 Floyd Bannister      30    27   6  2  0  0   2   3   5  .222  .300  .296  .596   0   0   0   0   1                
 Mark Gubicza         30    29   5  3  0  0   3   1   4  .172  .200  .276  .476   0   0   0   0   1                
 Jimmy Key            30    28   3  0  0  0   2   2   2  .107  .167  .107  .274   0   0   1   0   0                

We can also see who he hit the most homers off of:

                    PA  AB  H  2B 3B **HR** RBI  BB  SO   BA   OBP   SLG   OPS   SH  SF IBB HBP GDP G_miss YR_miss
+-----------------+---+---+---+--+--+------+---+---+---+-----+-----+-----+-----+---+---+---+---+---+------+-------+
 Mike Moore         18  15   7  1  1    3    10   3   0  .467  .556 1.267 1.823   0   0   0   0   0                
 Jamie Moyer        21  20   7  2  0    3     5   1   2  .350  .381  .900 1.281   0   0   0   0   0                

Most strikeouts against:

                    PA  AB  H  2B 3B HR RBI  BB  **SO**   BA   OBP   SLG   OPS   SH  SF IBB HBP GDP G_miss YR_miss
+-----------------+---+---+---+--+--+--+---+---+-------+-----+-----+-----+-----+---+---+---+---+---+------+-------+
 Teddy Higuera      24  22   3  1  0  0   2   2     8    .136  .208  .182  .390   0   0   0   0   0                
 Chuck Finley       28  24   6  1  0  0   2   4     7    .250  .357  .292  .649   0   0   0   0   0                
 Greg Harris        13  13   0  0  0  0   0   0     7    .000  .000  .000  .000   0   0   0   0   0                
 Gene Nelson        16  15   3  1  0  2   3   0     7    .200  .200  .667  .867   1   0   0   0   0                
 Bobby Witt         24  23   7  0  1  1   3   1     7    .304  .333  .522  .855   0   0   0   0   0                

Highest OPS, minimum 15 PAs:

                    PA  AB  H  2B 3B HR RBI  BB  SO   BA   OBP   SLG   **OPS**   SH  SF IBB HBP GDP G_miss YR_miss
+-----------------+---+---+---+--+--+--+---+---+---+-----+-----+-----+---------+---+---+---+---+---+------+-------+
 Mike Moore         18  15   7  1  1  3  10   3   0  .467  .556 1.267   1.823     0   0   0   0   0                
 Bill Wegman        17  13   5  2  0  1   3   4   3  .385  .529  .769   1.298     0   0   0   0   0                
 Jamie Moyer        21  20   7  2  0  3   5   1   2  .350  .381  .900   1.281     0   0   0   0   0                
 Richard Dotson     25  24  10  4  0  2   6   1   0  .417  .440  .833   1.273     0   0   0   0   2                
 Charlie Hough      20  16   7  1  0  1   7   3   2  .438  .500  .688   1.188     0   1   0   0   0                

With Game Finder, we can find his games with the most HRs:

  Cnt Date          Tm   Opp GmReslt PA AB  R  H 2B 3B **HR** RBI BB IBB SO HBP SH SF ROE GDP SB CS BOr Positions
+----+-------------+---+----+-------+--+--+--+--+--+--+------+---+--+---+--+---+--+--+---+---+--+--+---+---------+
    1 1994-07-05    TOR @MIN W 14-3   5  5  3  3  0  0    3     4  0   0  1   0  0  0   0   0  0  0 7th 3B        
    2 1987-09-30(2) PIT  CHC L  8-10  5  4  3  4  0  0    3     6  1   0  0   0  0  0   0   0  0  0 5th 3B        

    3 1989-08-05    SEA  OAK W 11-5   5  5  2  2  0  0    2     6  0   0  0   0  0  0   0   0  0  0 5th 1B        
    4 1988-06-14    PIT @CHC W  6-3   4  3  3  2  0  0    2     2  1   0  0   0  0  0   0   1  0  0 5th RF        
    5 1986-09-10    DET  MIL W 11-7   5  4  2  2  0  0    2     4  1   0  0   0  0  0   0   0  0  0 5th 3B        

Or the one game in which he stole 2 bases:

  Cnt Date          Tm   Opp GmReslt PA AB  R  H 2B 3B HR RBI BB IBB SO HBP SH SF ROE GDP **SB** CS BOr Positions
+----+-------------+---+----+-------+--+--+--+--+--+--+--+---+--+---+--+---+--+--+---+---+------+--+---+---------+
    1 1988-08-22    SEA @BAL W  7-3   5  4  1  2  0  0  0   2  1   0  0   0  0  0   0   1    2    0 5th DH        

By looking at Event Finder, limited to plate appearances that ended the game and put his team into the lead, we can find the one time he had a walk-off PA (and it was a groundout! Weird!)

With Streak Finder, here are his longest hitting streaks:

StreakStart  Streak End Games    AB    R    H   2B  3B  HR  RBI  SO   BB   SB   CS   BA   OBP   SLG   OPS  Teams
+-----------+-----------+-----+------------------------------------------------------------------------------------------------------------------------+
  1986-05-03  1986-05-13    10     37    6   14   4   0   2    8    6    4    0   1  .378  .465  .649 1.114 DET                                         

  1989-04-15  1989-04-23     8     33    4   12   2   0   1    7    3    1    0   1  .364  .382  .515  .897 SEA                                         
  1986-09-28  1987-04-06     8     29    3   10   3   0   1    3    0    4    0   0  .345  .424  .552  .976 DET                                         
  1986-08-07  1986-08-13     8     33    6   16   3   0   1    3    6    1    0   0  .485  .500  .667 1.167 DET                                         

One Response to “PI basics”

  1. ZimJim Says:

    That is neat, good stuff.

    At first glance, that groundout looks like the defense tried to get a double play to get out of the inning (the bases were loaded one out) but coles was safe at first and the game ended. This would be interesting enough but it says the ball was fielded by the left fielder. My guess is that the Indians tried a 7-8 man infield a la Rays in Game 3 of the world series.