Update app.py
Browse files
app.py
CHANGED
|
@@ -3,8 +3,8 @@ import api_scraper
|
|
| 3 |
import pandas as pd
|
| 4 |
scrape = api_scraper.MLB_Scrape()
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
from matplotlib.colors import LinearSegmentedColormap, Normalize
|
| 9 |
import numpy as np
|
| 10 |
import requests
|
|
@@ -175,7 +175,10 @@ app_ui = ui.page_fluid(
|
|
| 175 |
ui.markdown("""<a href='https://x.com/TJStats'>Follow me on Twitter</a><sup>1</sup>"""),
|
| 176 |
ui.markdown("""<a href='https://www.patreon.com/tj_stats'>Support me on Patreon for Access to 2024 Apps</a><sup>1</sup>"""),
|
| 177 |
|
| 178 |
-
ui.
|
|
|
|
|
|
|
|
|
|
| 179 |
ui.layout_sidebar(
|
| 180 |
ui.panel_sidebar(
|
| 181 |
# Row for selecting season and level
|
|
|
|
| 3 |
import pandas as pd
|
| 4 |
scrape = api_scraper.MLB_Scrape()
|
| 5 |
|
| 6 |
+
import df_update
|
| 7 |
+
update = df_update.df_update()
|
| 8 |
from matplotlib.colors import LinearSegmentedColormap, Normalize
|
| 9 |
import numpy as np
|
| 10 |
import requests
|
|
|
|
| 175 |
ui.markdown("""<a href='https://x.com/TJStats'>Follow me on Twitter</a><sup>1</sup>"""),
|
| 176 |
ui.markdown("""<a href='https://www.patreon.com/tj_stats'>Support me on Patreon for Access to 2024 Apps</a><sup>1</sup>"""),
|
| 177 |
|
| 178 |
+
ui.markdown("### Statcast Batting Summaries"),
|
| 179 |
+
ui.markdown("""This Shiny App allows you to generate Baseball Savant-style percentile bars for MiLB players in the 2024 Season.
|
| 180 |
+
Currently, MiLB Statcast is only available for AAA and and A (Florida State League) levels."""),
|
| 181 |
+
|
| 182 |
ui.layout_sidebar(
|
| 183 |
ui.panel_sidebar(
|
| 184 |
# Row for selecting season and level
|