ChartDataPostProcessingOperation
operationstringrequired
Post processing operation type
Possible values: [aggregate, boxplot, compare, contribution, cum, diff, escape_separator, flatten, geodetic_parse, geohash_decode, geohash_encode, histogram, pivot, prophet, rank, rename, resample, rolling, select, sort, unescape_separator]
Example:
aggregateoptionsobject
Options specifying how to perform the operation. Please refer to the respective post processing operation option schemas. For example, ChartDataPostProcessingOperationOptions specifies the required options for the pivot operation.
Example:
{"aggregates":{"age_mean":{"column":"age","operator":"mean"},"age_q1":{"column":"age","operator":"percentile","options":{"q":0.25}}},"groupby":["country","gender"]}ChartDataPostProcessingOperation
{
"operation": "aggregate",
"options": {
"aggregates": {
"age_mean": {
"column": "age",
"operator": "mean"
},
"age_q1": {
"column": "age",
"operator": "percentile",
"options": {
"q": 0.25
}
}
},
"groupby": [
"country",
"gender"
]
}
}