Skip to content

ttan06/baseball_travels

Repository files navigation

Coverage Status

Build Test

Baseball Stadium Travels

Project Description

Known as America’s pastime, going to baseball games is a common summertime activity. One popular way is to go on a stadium tour and travel across the country, watching a game at each stadium.

Our application creates an optimal schedule for fans of all types to attending games at MLB stadiums in 2024, given user inputted parameters.

Users are able to optimize for cost, time, or distance, choosing either the cheapest route, quickest route, or the route with the least travel, and can view the journey on a map.

How to run app

The packages within environment.yml have to be installed before running the app, we recommend running the command below to create the environment:

conda env create -f environment.yml

Then activate the environment:

conda activate baseball_env

Then you can start the app just run the command below in your terminal at baseball_travels :

python3 app.py

After running the app, open the link provided from the terminal in your browser. Then select the teams from the drop down list you would like to visit then view the paths to take.

Future Work

  • Optimize search algorithm to remove team entry limit and reduce runtime and loading time.

  • Introduce method to choose specific games, especially for more advanced fans. These can be based on the away teams, home team promotions, or even specific player appearances.

  • Incorporate live flight costs and stadium ticket prices and add to the total cost.

Data

Schedule Data:

US Stadium locations

Map/Distance Data:

Flight Data:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •