Add statistics page for absences
Due to the frequent need of aggregated absence data per student/per group/per course, statistic components on the person and group pages should be introduced. It should be possible to filter the data that is aggregated by school term.
Aggregations on student page (component 1)
Query per person and school term
- Total count of participations
- Total count of absences with absence reasons that say
count_as_absent
- Count of absences grouped by absence reasons
- (exclude for now) Both things also divided by a day factor
- Sum of tardiness
- Count of tardiness
- Count of extra marks grouped by extra marks
Aggregations on groups page (component 2)
Query per group and school term with a list of persons and annotated statistics
for each student
- Total count of participations
- Total count of absences with absence reasons that say
count_as_absent
- Count of absences grouped by absence reasons
- (exclude for now) Both things also divided by a day factor
- Sum of tardiness
- Count of tardiness
- Count of extra marks grouped by extra marks
Edited by Jonathan Weth