phlask / phlask-data-handlers

Phlask middleware to help make data ingestion and presentation more efficient!
5 stars 2 forks source link

Integrate Foraging Resource Data into Streamlit Dashboard #32

Open ojimba01 opened 1 year ago

ojimba01 commented 1 year ago

Overview * Hold off on this issue as there is no "foragenum" or related property in the forage db schema yet**

We are looking to add a new feature to our Streamlit dashboard: the integration of Phlask's Food resource data. This task involves modifying the allowed_forage_keys variable and the create_forage_dataframe function. While initial code has been provided, it may not capture all of the data present in our Firebase food RTDB instances. Please use the existing water functions and variables as a reference for constructing the function correctly.

Task Your task is to incorporate Phlask's food resource data into our Streamlit dashboard, requiring the following steps:

  1. Modify the allowed_forage_keys variable to capture the appropriate data keys for the food resources.
  2. Update the create_forage_dataframe function to correctly process and structure the food resource data for our Streamlit dashboard.
  3. Ensure that the food resource data is correctly represented in the dashboard.
  4. Test the new feature thoroughly to ensure accuracy and reliability of the food resource data.

Requirements

Steps to complete this task

  1. Review the existing code, particularly the water functions and variables, to understand the data structure and processing.
  2. Modify the allowed_forage_keys variable to include relevant keys for the food resource data.
  3. Update the create_forage_dataframe function to handle food resource data.
  4. Integrate the updated function and variable into the Streamlit dashboard and ensure the food resource data is correctly displayed.
  5. Conduct thorough testing to ensure the accuracy and reliability of the new feature.
  6. Provide documentation detailing your changes and any important considerations or limitations.
  7. Submit the updated code and documentation for review.

Your contribution to this project is highly appreciated!