Skip to content

feat:dashboard aggregations#170

Draft
NicoPL wants to merge 8 commits into
mainfrom
npl/feat/dashboard_aggregations
Draft

feat:dashboard aggregations#170
NicoPL wants to merge 8 commits into
mainfrom
npl/feat/dashboard_aggregations

Conversation

@NicoPL

@NicoPL NicoPL commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

DONE:

  • deal with data series (eg. relative_abundance)
  • workaround to split data that is merged into rainfall+wind and couv_slope+cover
  • configuration dictionary where is written what function to apply to each field, in new constants.py file
  • write the right formula to compute standard errors within the MRP function
  • integrate with new datasets
  • get the year in external data
  • use 'project' as a new root level

STILL IN PROGRESS:

  • fix: formula for fields with dicts (first: mean in stratum, then weighted mean of stratum means)
  • feat: write other aggregation functions (SRS, SS, etc.)
  • feat: write other aggregation functions (total and proportion)
  • feat: make generic using settings for stratums detailed in "xxx_samp.parquet" files
  • feat: support inventaire_bio and enquete datasets
  • refactor: reorganize files
    • keep in stats.py only the functions to compute aggregation
    • put in models.py the objects dealing with data and calling aggregation functions
  • fix: remove 'for' field to 'loc2' once updated in style.json

@NicoPL NicoPL marked this pull request as draft June 12, 2026 13:09
@NicoPL NicoPL force-pushed the npl/feat/dashboard_aggregations branch from c15a2ef to f911351 Compare June 15, 2026 12:42
@NicoPL NicoPL requested a review from arnaudfnr June 15, 2026 12:49
@NicoPL NicoPL linked an issue Jun 15, 2026 that may be closed by this pull request
@NicoPL NicoPL force-pushed the npl/feat/dashboard_aggregations branch from 15050e5 to 84cfb2c Compare June 29, 2026 10:01
NicoPL added 2 commits June 29, 2026 16:17
- Use "year" to select right weights to compute means according to their related groups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compute Dashboard Indicators

1 participant