A user wants to see all the data for a given day. Steps:
[x] Write a function in the average_data.py script, which takes a date and gym as input and returns the occupancy, waiting and weather for that day in 15min intervals.
[x] Write the frontend part in app.py so that the user can select a date (st.date_input) and along with the gym name, the function is called from app.py
[x] Do the necessary datetime format changes to adapt the input date to the date that your function takes
[x] Also write a function that given a day, time and gym as input, returns the data for that day until the point in time.
[x] Write the frontend part with a button so that the user can see "Data today"
[x] Plot the data in streamlit
When it's done, message me so I can push it to heroku :)
Because I activated continuous integration, whenever a commit is done to main, the app is deployed to heroku automatically. So when we merge your branch, heroku will be updated :)
Shall I amend the chart to have the same axis regardless of how minimal the data is?
We can't have another selectbox for choosing a gym (for point 2), because "DuplicateWidgetID: There are multiple identical st.selectbox widgets with the same generated key.". I can use a checkbox of multibox or something else instead?
I also noticed rows 200-504 in the boudlerdf data csv are duplicates, which I haven't removed yet!
I think you mean that the y axis should always go from 0 to 100 regardless of how full it is? I don't get the question :)
I would say we can pick the gym and day once, and with that show the average data + the data for just that day. so one input, 2 plots. No need to ask for input again
Yes I have to give you access to the S3 bucket --> TODO for me!
A user wants to see all the data for a given day. Steps:
average_data.py
script, which takes a date and gym as input and returns the occupancy, waiting and weather for that day in 15min intervals.app.py
so that the user can select a date (st.date_input) and along with the gym name, the function is called fromapp.py
When it's done, message me so I can push it to heroku :)Because I activated continuous integration, whenever a commit is done to main, the app is deployed to heroku automatically. So when we merge your branch, heroku will be updated :)