Skip to content

Instantly share code, notes, and snippets.

@dickoa
Created February 6, 2019 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dickoa/20bcb9ab0cf5a449347143327de9d048 to your computer and use it in GitHub Desktop.
Save dickoa/20bcb9ab0cf5a449347143327de9d048 to your computer and use it in GitHub Desktop.
HXL hrp recipe
{
"name": "hrp",
"title": "Humanitarian Responses Plan",
"type": "cookbook",
"columns": [
"#targeted",
"#region",
"#country",
"#adm1"
],
"recipes": [
{
"name": "Charts: Sum/count items for a value column grouped by aggregate columns",
"description": "",
"type": "chart",
"ingredients": {
"aggregateFunctions": [
"sum"
],
"aggregateColumns": [
"#region",
"#country",
"#adm1",
"#adm2",
"#adm3",
"#adm4",
"#adm5"
],
"valueColumns": [
"#targeted"
]
}
},
{
"name": "Key Figures: Sum items for a value column",
"description": "",
"type": "key figure",
"ingredients": {
"aggregateFunctions": [
"sum"
],
"valueColumns": [
"#targeted"
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment