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 !

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s