openWAR icon indicating copy to clipboard operation
openWAR copied to clipboard

fix plays that begin with 3 outs

Open beanumber opened this issue 11 years ago • 2 comments

There are several plate appearances in 2012 that start with 3 outs!

subset(MLBAM2012, startOuts == 3)

beanumber avatar Aug 31 '13 20:08 beanumber

Not sure if this is still relevant. @gjm112 can you check and then close?

beanumber avatar Jan 05 '16 19:01 beanumber

Indeed these are still present:

> library(openWARData)
> MLBAM2013 %>% filter(startOuts == 3)
  pitcherId batterId field_teamId ab_num inning   half balls strikes endOuts     event
1    541640   136860          136     38      4 bottom     2       2       3 Groundout
  actionId
1       NA
                                                                                           description
1 Carlos Beltran grounds out sharply, second baseman Dustin Ackley to first baseman Kendrys Morales.  
  stand throws                                                        runnerMovement      x
1     L      R [407812:1B:::Groundout][445055:2B:::Groundout][572761:3B:::Groundout] 139.56
       y game_type home_team home_teamId home_lg away_team away_teamId away_lg venueId
1 152.61         R       sln         138      NL       sea         136      AL    2889
        stadium           timestamp playerId.C playerId.1B playerId.2B playerId.3B
1 Busch Stadium 2013-09-15 19:40:56     279827      434778      554429      572122
  playerId.SS playerId.LF playerId.CF playerId.RF batterPos batterName pitcherName runsOnPlay
1      508892      459431      501659      429711        RF    Beltran Ramirez, Er          0
  startOuts runsInInning runsITD runsFuture start1B start2B start3B end1B end2B end3B
1         3            4       4          0    <NA>    <NA>    <NA>  <NA>  <NA>  <NA>
  outsInInning startCode endCode fielderId                         gameId isPA isAB isHit
1            3         0       0    554429 gid_2013_09_15_seamlb_slnmlb_1 TRUE TRUE FALSE
  isBIP    our.x    our.y        r    theta
1  TRUE 36.33697 115.7742 121.3426 1.266672

beanumber avatar Jan 06 '16 03:01 beanumber