Page 1 of 2

Pitch Location Data

Posted: Tue May 08, 2012 8:51 am
by elcray
I know I have discussed this in another thread, but I thought I would formally request it here. There is great value in the pitch location data in some sort of structured form. I would think the easiest way to accomplish this would be by including it in the CSV files that can be emailed upon the completion of the game. A CSV file with the X,Y coordinates of each pitch, with columns for the batter and pitcher, pitch type, speed, and result (strike, ball, foul, etc.) would be very useful. In this format, the data could be analyzed from the perspective of pitching as well as batting. A CSV would allow for someone even with limited skills to analyze the data in a spreadsheet application.

Re: Pitch Location Data

Posted: Tue May 08, 2012 9:14 am
by FTMSupport
You can email the complete pitch by pitch data and it will include the pitch location / type information in the HTML that is emailed.

If you want something more programmatic, if you have a team website, you can get access to the complete details of the game through the Team Website API. Here is an example of the XML for a sample game via the API, and it includes complete detail of every pitch:

http://api.iscoresports.com/teamwebsite ... B732D93168

Re: Pitch Location Data

Posted: Tue May 08, 2012 9:35 am
by elcray
Holy data points, Batman, that's exactly what I need! I had asked in another thread if pitch locations was available in the API and was told no. I'm glad to know that it is in fact there, since that's the only reason I paid for the API.

Now, if it's not too much trouble, can you explain the relation of the XY coordinates in the XML file to the strike zone? I'm hoping in can figure it out by comparing the results of the Pitch By Pitch value, but I thought I would be more accurate from the Monkey's mouth.

Re: Pitch Location Data

Posted: Tue May 08, 2012 10:50 am
by FTMSupport
As noted in the comments at the top of the XML:
The x and y tell the pitch location where the 'strike zone' is defined as x = -1..1, and y = -1..1. The data is viewed from the catcher's point of view. (0,0) would be right down the middle, (-1,-1) would be top left of strike zone, and (1, 1) would be bottom right. Anything outside of that range is not in the strike zone.

Re: Pitch Location Data

Posted: Thu May 10, 2012 10:30 am
by BBCoach24
Are you saying that the detail pitch data can be exported? When I email the game data I don't see the pitch by pitch detail. When I pull the pitch by pitch game record up I can't email that. How can you email the pitch by pitch data?

Re: Pitch Location Data

Posted: Thu May 10, 2012 11:48 am
by FTMSupport
If you are using an iOS device, you can go to Game Manager, select the game, select pitch by pitch, and email from there to email full game pitch by pitch data. You must be running v3.51 or newer of iScore on an iOS device to do this.

Re: Pitch Location Data

Posted: Thu May 10, 2012 3:23 pm
by BBCoach24
I'm using an Android tablet running 4.0. Is this on the to-do list for Android to keep feature parity?

Re: Pitch Location Data

Posted: Thu May 10, 2012 3:42 pm
by FTMSupport
Yes, we have it on our enhancement list for Android.

Re: Pitch Location Data

Posted: Sun May 13, 2012 9:05 pm
by Jasperbhouse
Hi,

I really like the pitch by pitch data, is there somewhere a list of all possible event types?

Thanks,

Re: Pitch Location Data

Posted: Sun May 13, 2012 9:11 pm
by FTMSupport
No, we do not yet have that documented which is why the link is not listed in the official documentation yet.