-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdatapackage.json
102 lines (102 loc) · 2.31 KB
/
datapackage.json
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"description": "The repository of the data package of the GINI Index",
"homepage": "https://github.com/gsilvapt/gini-index",
"licenses": [
{
"name": "odc-pddl",
"title": "Open Data Commons Public Domain Dedication and Licence (PDDL)",
"path": "http://opendatacommons.org/licenses/pddl/"
}
],
"sources": [
{
"title": "the World Bank",
"path": "http://data.worldbank.org/indicator/SI.POV.GINI"
}
],
"name": "gini-index",
"title": "Historic values of the GINI Index",
"version": "0.1.0",
"resources": [
{
"bytes": 30723,
"format": "csv",
"mediatype": "text/csv",
"name": "gini-index",
"path": "data/gini-index.csv",
"schema": {
"fields": [
{
"description": "Country name",
"name": "Country Name",
"type": "string"
},
{
"description": "Country code",
"name": "Country Code",
"type": "string"
},
{
"description": "Date in the form of %Y",
"name": "Year",
"type": "year"
},
{
"description": "Value of the GINI Index",
"name": "Value",
"type": "number"
}
]
}
}
],
"views": [
{
"name": "gini-index-by-country-2015",
"title": "GINI Index by country 2015",
"resources": [
{
"name": "gini-index",
"transform": [
{
"type": "filter",
"expression": "parseInt(data['Year']) === 2015"
}
]
}
],
"specType": "simple",
"spec": {
"type": "bar",
"group": "Country Code",
"series": [
"Value"
]
}
},
{
"name": "gini-index-by-country-2014",
"title": "GINI Index by country 2014",
"resources": [
{
"name": "gini-index",
"transform": [
{
"type": "filter",
"expression": "parseInt(data['Year']) === 2014"
}
]
}
],
"specType": "simple",
"spec": {
"type": "bar",
"group": "Country Code",
"series": [
"Value"
]
}
}
],
"collection": "economic-data"
}