Showcasing my baseball analytics projects.
View the Project on GitHub jjsvenson/jj-svenson-baseball-analytics
Using R as a tool and Trackman CSVs as my data, I aimed to make a report that analyzed hitters.
For one of my first baseball coding projects, I aimed to investigate hitter performance. When coding my hitter evaluation report, I wanted to use R to read a Trackman CSV and display statistics and plots indicating a hitter’s success. In the report’s creation, I cared about looking at exit velocity, launch angle, contact, hard hits, whiff, in-zone whiff, and chase. Specifically with exit velocities and launch angles, I find it useful to look at their complete distributions rather than only their averages. For example, with launch angles, a lot of ground balls and pop flies could result in a line drive average launch angle, even if the hitter does not hit a lot of line drives. Therefore, I have displayed the distributions of exit velocity and launch angle, including quartiles. I have also plotted exit velocity against launch angle so I can see how hard each hitter hits the ball with respect to different launch angles. The following output is for the Arizona Wildcat’s 2024 season but my code works with any Trackman csv!
In this project, I used R to code a report evaluating a hitter’s performance.
I am always looking to improve my reports and to hear the opinions of others. If you have any questions or comments, feel free to connect with me at svensonjj@gmail.com or view my LinkedIn!