- Consolidate 80_kpi_utils.R, 80_weekly_stats_utils.R, 80_report_building_utils.R into three client-aware files: - 80_utils_common.R (50+ functions): Shared utilities, constants, and helpers - 80_utils_agronomic_support.R: AURA-specific KPI calculations (6 KPIs) - 80_utils_cane_supply.R: ANGATA placeholder for future expansion - Move all internal helpers (calculate_cv, calculate_change_percentages, calculate_spatial_autocorrelation, extract_ci_values, etc.) to common - Add MORAN_THRESHOLD_* constants to common - Fix parameters_project.R field boundaries path (removed extra 'Data' directory) - Update 80_calculate_kpis.R with conditional client-type sourcing logic - Validate both ANGATA (cane_supply) and AURA (agronomic_support) workflows with comprehensive testing - All 96+ functions accounted for; ready for production use |
||
|---|---|---|
| .github | ||
| .vscode | ||
| laravel_app | ||
| old_sh | ||
| python_app | ||
| r_app | ||
| renv | ||
| webapps | ||
| .gitignore | ||
| .renvignore | ||
| .Rprofile | ||
| 10_planet_download.sh | ||
| 20_ci_extraction.sh | ||
| 30_growth_model.sh | ||
| 40_mosaic_creation.sh | ||
| 80_calculate_kpis.sh | ||
| 90_kpi_report.sh | ||
| install.packages | ||
| package_manager.log | ||
| r_app.Rproj | ||
| renv.lock | ||