MLB’s Gameday Atypicals: Pitching Events

Today I was doing some pitch analysis for the Mexican Winter league and I found some pitches having the same event ids, although every pitch should have a not null, unique, event id. Below are the duplicate pitching events I found for the Liga Mexicana del Pacífico:

From this data we are able to see that a pitching event may appear in different at bats and different parts of the inning. Moreover we can corroborate that pitches having the same pitching event id will store the same exact data. Just take a close look at lines 3 and 9 of below’s Gameday XML file. They are exactly the same! So you better consider this bug in your code or you might end up granting strikes and balls to batters that don’t deserve them !

Deja un comentario