Spaces:
Running
Running
tracinginsights
commited on
Commit
•
b0857e6
1
Parent(s):
c451bef
Create Download_Raw_Data.py
Browse files- pages/Download_Raw_Data.py +16 -0
pages/Download_Raw_Data.py
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from repo_directory import Download_Raw_Data as dl
|
3 |
+
|
4 |
+
YEAR_SELECTED = st.selectbox(
|
5 |
+
'Select Year',
|
6 |
+
(2022, 2021, 2020, 2019, 2018))
|
7 |
+
|
8 |
+
RACE_SELECTED = st.selectbox(
|
9 |
+
'Select Race',
|
10 |
+
(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22))
|
11 |
+
|
12 |
+
SESSION = st.selectbox(
|
13 |
+
'Select Session',
|
14 |
+
('FP1', 'FP2', 'FP3', 'Q', 'SQ', 'R'))
|
15 |
+
|
16 |
+
dl.get_laps(YEAR_SELECTED, RACE_SELECTED, SESSION)
|