Refactor player ID dictionary creation in Streamlit app to eliminate site-specific filtering for Draftkings and Fanduel, enhancing code simplicity and consistency. Reuse Draftkings dictionary for Fanduel ID mapping across data loading and reset functionalities.
47b51c2
James McCoolcommited on
removing the timestamp
8919c13
James McCoolcommited on
Refactor database collection names in Streamlit app to align with updated naming conventions for player data and seed frames. Adjusted data processing logic to ensure consistency in handling 'Cut_Odds' and removed unnecessary columns, enhancing data integrity and clarity.
136910f
James McCoolcommited on
Update Streamlit app styling and layout by modifying tab and button styles for improved visual consistency. Adjust column layout for data loading options, enhancing user experience and interface clarity.
ada64ff
James McCoolcommited on
Refactor Streamlit app layout and functionality to improve user experience. Introduced new columns for data loading and viewing options, added a segmented control for tab selection, and streamlined data reset logic. Enhanced site selection handling for Draftkings and Fanduel, ensuring consistent functionality across different views.
f02bae9
James McCoolcommited on
Enhance Dockerfile and Streamlit app configuration by adding user management and environment variable handling for MongoDB connection. Introduce secrets management for sensitive data and update requirements installation process. New secrets.toml file created for storing MongoDB URI.
6c387a5
James McCoolcommited on
Update mapping logic in Streamlit app to include 'FLEX6' for both Regular and Showdown slates in Fanduel and Draftkings, ensuring consistency in data exports.
9a655f5
James McCoolcommited on
Refactor player ID dictionary creation in Streamlit app to simplify Fanduel ID mapping by reusing Draftkings dictionary. Update download button filenames for ROO exports to reflect PGA context, enhancing clarity for users.
2e7e942
James McCoolcommited on
Add download options for ROO data in Streamlit app, allowing users to export both Regular and Portfolio Manager formats. Streamlined data preparation for exports based on selected slate type, enhancing user experience and data accessibility.
1e7a422
James McCoolcommited on
Refactor player ID dictionary creation in Streamlit app to filter by site (Draftkings and Fanduel), improving data accuracy and clarity in lineup initialization.
33e0f9f
James McCoolcommited on
Implement character normalization and enhance data export functionality in Streamlit app. Added a new function to convert accented characters to ASCII, ensuring cleaner data exports. Updated export logic to include options for both IDs and names, with filtering capabilities based on user-defined salary constraints.
92f395c
James McCoolcommited on
Fix variable name from 'slate_var1' to 'site_var1' in salary input logic for Draftkings and Fanduel in Streamlit app, ensuring correct functionality based on selected site.
5dc55b5
James McCoolcommited on
Enhance Streamlit app by adding salary input fields for Draftkings and Fanduel, allowing users to set minimum and maximum salary constraints. Adjusted layout to accommodate new input options in an additional column, improving overall user experience.
273bc13
James McCoolcommited on
Refactor Streamlit app layout to improve user experience by organizing input options into columns. Streamlined data loading logic for Draftkings and Fanduel based on selected slate type, enhancing clarity and usability.
70970a2
James McCoolcommited on
Update MongoDB connection in Streamlit app to use PGA_Database instead of MLB_Database.
5e3911e
James McCoolcommited on
Enhance Streamlit app with MongoDB integration and player frequency analysis. Added secret management for MongoDB URI in Dockerfile, updated requirements to include pymongo, and refactored streamlit_app.py to connect to MongoDB and display player statistics. Implemented data export functionality for player frequency and optimal lineups.