-
Notifications
You must be signed in to change notification settings - Fork 6
/
data grid recipe - template.yml
27 lines (26 loc) · 2.12 KB
/
data grid recipe - template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
#This YAML file is intended as an empty template and documentation for YAML files used to configure the data grid
inherits_from: #for v2. name of another recipe which this one will partially overwrite
name: #a short, unique name for the recipe
title: #a display name for the recipe
type: #for v2. this will let us distinguish different types of data grid like 'preparedness' or 'crisis' or 'hdx curated' or 'automatically generated', but not used in v1
description: #for v2. we may show this in the interface somewhere to help users understand different recipes, but not used in v1
categories: #list of the high level groupings visible in the data grid, like 'Food Security'
- name: #a short unique name for the category
title: #the text that appears at the top of each grouping in the data grid
type: #for v2. we may want to distinguish between 'preparedness' and 'crisis' at the category level
description: #text that appears on hover of the title
data_series: #list of the actual indicators or data series into which the datasets are categorized, like 'food prices'
- name: #a short unique name for the data series
title: #the text that appears in the interface to at the top of each data series list of datasets
description: #the definition of the data series.
type: #for v2. we may want to distinguish between 'preparedness' and 'crisis' at the data series level
rules: #the set of 'include' and 'exclude' rules that determine what datasets appear in the data series
include: #a list of queries (OR between each list item) that create a list of datasets to include in the data series
-
exclude: #a list of queries (OR between each list item) that remove datasets from the data series
-
metadata_overrides:
- dataset_name: #the ckan package name (id also works)
display_state: #values can be {{complete}} or {{incomplete}}
comments: #a string to pop up on hover over a dataset in the grid. this would contain comments from whoever did the curation about limitations of the dataset