-
Notifications
You must be signed in to change notification settings - Fork 1
/
flow.json
19 lines (19 loc) · 987 Bytes
/
flow.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"dataPath": "value",
"amount": "amount",
"count": "grantsCount",
"level1": "budgetCategory.budgetCategoryParent.budgetCategoryParent.budgetCategoryName",
"level2": "budgetCategory.budgetCategoryParent.budgetCategoryName",
"costCategory": "budgetCategory.budgetCategoryName",
"component": "activityArea.activityAreaParent.activityAreaName",
"componentColors": {
"HIV": "#252C34",
"Tuberculosis": "#595C70",
"Malaria": "#B2B2B2",
"RSSH": "#A598F3",
"Multicomponent": "#BFCFEE",
"Other": "#CDD4DF",
"Emergency Response": "#2A3886"
},
"budgetsFlowAggregation": "$apply=<filterString>groupby((activityArea/activityAreaParent/activityAreaName,budgetCategory/budgetCategoryName,budgetCategory/budgetCategoryParent/budgetCategoryName,budgetCategory/budgetCategoryParent/budgetCategoryParent/budgetCategoryName),aggregate(budgetAmount with sum as amount, grantAgreementImplementationPeriod/grantAgreementId with countdistinct as grantsCount))"
}