Pitch Location Data
Pitch Location Data
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.
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: Pitch Location Data
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
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
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Re: Pitch Location Data
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.
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.
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: Pitch Location Data
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.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Re: Pitch Location Data
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?
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: Pitch Location Data
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.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Re: Pitch Location Data
I'm using an Android tablet running 4.0. Is this on the to-do list for Android to keep feature parity?
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: Pitch Location Data
Yes, we have it on our enhancement list for Android.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
-
- Posts: 46
- Joined: Mon Aug 30, 2010 4:49 am
Re: Pitch Location Data
Hi,
I really like the pitch by pitch data, is there somewhere a list of all possible event types?
Thanks,
I really like the pitch by pitch data, is there somewhere a list of all possible event types?
Thanks,
- FTMSupport
- Site Admin
- Posts: 13193
- Joined: Sat Mar 28, 2009 7:25 pm
Re: Pitch Location Data
No, we do not yet have that documented which is why the link is not listed in the official documentation yet.
Check out the new iScore Baseball documentation page!
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs
Includes videos and user manual.
http://iscoresports.com/baseball/training.php#docs