From 156028af4b80cde10ba5ffed8f73e9a0ab834d84 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Wed, 26 Jun 2024 01:53:28 +0200 Subject: [PATCH 1/2] GMP doc: add C_COUNT to AGGREGATE/OVERALL in GET_AGGREGATES --- src/schema_formats/XML/GMP.xml.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/schema_formats/XML/GMP.xml.in b/src/schema_formats/XML/GMP.xml.in index 6d3241b5d..22221b195 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -8107,6 +8107,7 @@ END:VCALENDAR Aggregate data for all resources of the selected type count + c_count min max mean @@ -8117,6 +8118,12 @@ END:VCALENDAR Overall number of resources integer + + c_count + Cumulative number of resources + For overall this is always the same as count. + integer + min Overall minimum value of the data column From c8c397fc8ca8ee3b4ea4d205d3554947b72502a7 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Wed, 26 Jun 2024 02:24:57 +0200 Subject: [PATCH 2/2] GMP doc: add STATS to AGGREGATE/OVERALL in GET_AGGREGATES --- src/schema_formats/XML/GMP.xml.in | 63 ++++++++++++++++++++----------- 1 file changed, 41 insertions(+), 22 deletions(-) diff --git a/src/schema_formats/XML/GMP.xml.in b/src/schema_formats/XML/GMP.xml.in index 22221b195..96c32a796 100644 --- a/src/schema_formats/XML/GMP.xml.in +++ b/src/schema_formats/XML/GMP.xml.in @@ -8108,10 +8108,7 @@ END:VCALENDAR count c_count - min - max - mean - sum + stats count @@ -8125,24 +8122,46 @@ END:VCALENDAR integer - min - Overall minimum value of the data column - text - - - max - Overall maximum value of the data column - text - - - mean - Overall arithmetic mean of the numeric values of the data - text - - - sum - Overall sum of the numeric values of the data column - text + stats + Statistics of a data column + + + column + Name of the column the stats apply to + text + + min + max + mean + sum + c_sum + + + min + Overall minimum value of the data column + text + + + max + Overall maximum value of the data column + text + + + mean + Overall arithmetic mean of the numeric values of the data + text + + + sum + Overall sum of the numeric values of the data column + text + + + c_sum + Cumulative sum of the numeric values of the data column + For overall this is always the same as sum. + text +