devparra / baseball-hist-dash

MLB Data Explorer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MLB Data Explorer

Formerly the MLB History Explorer/Baseball Historical Dashboard, this application is a portfolio project built using Plotly's Dash , faculty.ai's Dash Bootstrap Components, Pandas, and custom functions. Using historical MLB (Major League Baseball) data, this application provides visualizations for team and player statistics dating from 1871 to 2022. This application also provides player projections and regression analysis.

Dependencies

  • Python 3.10+
  • Pandas 1.5+
  • Dash 2.9+
  • Dash Bootstrap Components 1.3+
  • Statsmodels 0.15+

The Data

Run the data_download python file in the data folder to retrieve the SQLite database for this project.

The data used in this application can be manually retrieved from Seanlahman.com. Provided by Nat Dunn's WebucatorTraining. Database was updated with data provided by Chadwick Baseball Bureau. The data is copyright 1996-2023 by Sean Lahman. Licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. For details see: CreativeCommons v3. SQL database is licensed under the Creative Commons Zero v1.0 Universal License. For details see: CreativeCommons v1.