Skip to content

Instantly share code, notes, and snippets.

@dickoa
Last active February 26, 2019 16:26
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/3c119d63b68eff0a92a25a009b99f7b0 to your computer and use it in GitHub Desktop.
Save dickoa/3c119d63b68eff0a92a25a009b99f7b0 to your computer and use it in GitHub Desktop.
HNO HXL recipe with sector support
{
"name": "hno_sector",
"title": "Humanitarian Needs Overview",
"type": "cookbook",
"columns": [
"#inneed",
"#region",
"#country",
"#adm1",
"#sector"
],
"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",
"#sector"
],
"valueColumns": [
"#inneed"
]
}
},
{
"name": "Key Figures: Sum items for a value column",
"description": "",
"type": "key figure",
"ingredients": {
"aggregateFunctions": [
"sum"
],
"valueColumns": [
"#inneed"
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment