forked from datasets/population
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatapackage.json
124 lines (124 loc) · 2.67 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"description": "Population figures for countries, regions (e.g. Asia) and the world. Data comes originally from World Bank and has been converted into standard CSV.",
"keywords": [
"Population",
"World",
"Time series"
],
"last_updated": "2012-10-18",
"licenses": [
{
"name": "ODC-PDDL-1.0",
"path": "http://opendatacommons.org/licenses/pddl/",
"title": "Open Data Commons Public Domain Dedication and License v1.0"
}
],
"name": "population",
"resources": [
{
"format": "csv",
"name": "population",
"path": "data/population.csv",
"schema": {
"fields": [
{
"name": "Country Name",
"type": "string"
},
{
"name": "Country Code",
"type": "string"
},
{
"name": "Year",
"type": "year"
},
{
"name": "Value",
"type": "number"
}
]
}
}
],
"sources": [
{
"name": "World Bank",
"path": "http://data.worldbank.org/indicator/SP.POP.TOTL",
"title": "World Bank"
}
],
"title": "Population figures for countries, regions (e.g. Asia) and the world",
"version": "2011",
"views": [
{
"name": "world-population-trend",
"title": "World population trend",
"specType": "simple",
"resources": [
{
"name": "population",
"transform": [
{
"type": "filter",
"expression": "data['Country Code'] === 'WLD'"
}
]
}
],
"spec": {
"type": "line",
"group": "Year",
"series": [
"Value"
]
}
},
{
"name": "china-population-trend",
"title": "China population trend",
"specType": "simple",
"resources": [
{
"name": "population",
"transform": [
{
"type": "filter",
"expression": "data['Country Code'] === 'CHN'"
}
]
}
],
"spec": {
"type": "line",
"group": "Year",
"series": [
"Value"
]
}
},
{
"name": "us-population-trend",
"title": "US population trend",
"specType": "simple",
"resources": [
{
"name": "population",
"transform": [
{
"type": "filter",
"expression": "data['Country Code'] === 'USA'"
}
]
}
],
"spec": {
"type": "line",
"group": "Year",
"series": [
"Value"
]
}
}
]
}