generated from The-Strategy-Unit/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Open
Question
Copy link
Description
If this matters at all - that is, if there is any significant performance difference in behaving a certain way.
It may be that it doesn't make any significant difference to outputs app performance, in which case reskit can just be structured in whatever way is most convenient.
At the moment, reskit provides umbrella 'compile_*' functions for data preparation for each table and chart.
These functions allow the user (where relevant) to specify an activity type, a measure, a selection of "pod"s, and so on.
Current behaviour: Run compile function with all parameters
- Pull the relevant table(s) from a 'results' object
- Run initial part of data preparation process
- Filter to default, or selected, activity type, measure, pod(s) and site(s).
- Complete data preparation process, including calculation of totals etc
- If the user selection of parameters changes, start again from 1
Potentially better behaviour?
- Pull the relevant table(s) from a 'results' object
- Run a complete data preparation process, providing a "full" prepared table
- Filter to required activity type, measure, pod(s) and site(s), as selected by user
- Resummarise / recalculate totals etc ?
- If the user selection of parameters changes, start again from 3.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels