Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix plays that begin with 3 outs #20

Open
beanumber opened this issue Aug 31, 2013 · 2 comments
Open

fix plays that begin with 3 outs #20

beanumber opened this issue Aug 31, 2013 · 2 comments
Assignees
Labels
Milestone

Comments

@beanumber
Copy link
Owner

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

subset(MLBAM2012, startOuts == 3)
@beanumber
Copy link
Owner Author

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

@beanumber beanumber added this to the CRAN release milestone Jan 5, 2016
@beanumber
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants