Skip to content

R Shiny App meant for high school, college, and professional baseball players to compare themselves to an MLB Player

License

Notifications You must be signed in to change notification settings

Hunter-Mott-31/2023_Baseball_Statcast_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLB Statcast Analysis App

Overview

This Shiny app provides statistical analysis and visualizations for MLB players based on Statcast data from the 2023 season. It is designed for high school, college, and professional players who want to compare their metrics to the average major leaguer. The app focuses on objective stats such as exit velocity and pitcher velocity for a more accurate comparison.

Features

  • Pitcher Stats Visualization: Explore the average MLB pitcher velocity and spin rates based on pitch type.
  • Hitter Stats Comparison: Compare various statistics for qualified hitters, including exit velocity, launch angle, and sprint speed.

Data Source

The data used in this app was obtained from Baseball Savant. Please make sure to select the necessary stats and player type filters to get the exact data.

See Data Files: pitcher_stats.csv hitter_stats.csv

How to Use

  1. Choose the "Pitcher" tab to explore pitcher statistics visualizations.
  2. Navigate to the "Hitters" tab to compare stats for qualified hitters.
  3. Select specific tables, such as the default table or the top 30 hitters by exit velocity or sprint speed.

Installation

To run the app locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Install the required R packages using install.packages(c("shiny", "shinythemes", "tidyverse", "RColorBrewer", "DT")).
  3. Load in MLB_Averages_App.R
  4. Run the app

Contact

Feel free to reach out if you have any comments, recommendations, or concerns about the app.

License

This project is licensed under the MIT License.

About

R Shiny App meant for high school, college, and professional baseball players to compare themselves to an MLB Player

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages