Enhance API with data loading functionality and update README.

- Added `/load-data` endpoint to load transaction data from either a database or a CSV file.
- Updated `SalaryAnalyticsPipeline` and `DataLoader` to support loading from CSV.
- Implemented data validation and error handling for loading processes.
- Revised README to include new data loading instructions and workflow steps.
- Added checks to ensure data is loaded before running analysis endpoints.
This commit is contained in:
2025-05-01 22:57:55 +01:00
parent 7e7094f0fd
commit 8acfb436f3
12 changed files with 205 additions and 29 deletions
+6
View File
@@ -0,0 +1,6 @@
transaction.csv
output/csv/final_table.csv
output/csv/high_earner_details.csv
output/csv/likely_salary_earner.csv
output/plots/consistent_earners_predictions.png
output/plots/hypothesis_overlap.png