-
Notifications
You must be signed in to change notification settings - Fork 12
/
datapackage.json
89 lines (89 loc) · 1.99 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
{
"name": "cpi-us",
"title": "US Consumer Price Index and Inflation (CPI)",
"sources": [
{
"name": "US Bureau of Labor Statistics",
"path": "http://www.bls.gov/cpi/",
"title": "US Bureau of Labor Statistics"
}
],
"licenses": [
{
"name": "ODC-PDDL-1.0",
"path": "http://opendatacommons.org/licenses/pddl/",
"title": "Open Data Commons Public Domain Dedication and License v1.0"
}
],
"keywords": [
"Indicator"
],
"resources": [
{
"path": "data/cpiai.csv",
"format": "csv",
"mimetype": "text/csv",
"size": "15157",
"sources": [
{
"path": "https://api.bls.gov/publicAPI/v2/timeseries/data/",
"title": "unkown"
}
],
"schema": {
"fields": [
{
"name": "Date",
"description": "Date (strictly the year and month)",
"type": "date",
"format": "any"
},
{
"name": "Index",
"description": "Monthly Consumer Price Index. Values are U.S. city averages for all items and 1982-84=100.",
"type": "number"
},
{
"name": "Inflation",
"description": "Monthly Consumer Price Inflation. Values are for U.S. city averages for all items.",
"type": "number"
}
]
},
"name": "cpiai"
}
],
"views": [
{
"name": "graph",
"title": "Monthly Consumer Price Inflation",
"specType": "simple",
"resources": [
"cpiai"
],
"spec": {
"type": "column",
"group": "Date",
"series": [
"Inflation"
]
}
},
{
"name": "graph",
"title": "Monthly Consumer Price Index",
"specType": "simple",
"resources": [
"cpiai"
],
"spec": {
"type": "line",
"group": "Date",
"series": [
"Index"
]
}
}
],
"collection": "inflation"
}