-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathsample.json
More file actions
174 lines (174 loc) · 4.45 KB
/
Copy pathsample.json
File metadata and controls
174 lines (174 loc) · 4.45 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"version": "2",
"header": {
"title": "Business Licenses in Chicago",
"description": "Business licenses issued by the Department of Business Affairs and Consumer Protection in the City of Chicago from 2002 to the present. January 1, 2006 to present. Data is updated daily.",
"navigation": [
{
"label": "Download",
"url": "https://data.cityofchicago.org/api/views/r5kz-chrr/rows.csv?accessType=DOWNLOAD&bom=true"
}
]
},
"cards": [
{
"x": 0,
"y": 0,
"width": 6,
"height": 2,
"vizwit": {
"title": "New Licenses Issued",
"chartType": "callout",
"provider": "socrata",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx",
"groupBy": "date_trunc_y(date_issued)",
"valueFormat": "0,0",
"labelFormat": "[Calendar year] YYYY",
"order": "label desc",
"limit": 1,
"baseFilters": [
{
"field": "license_status",
"expression": {
"type": "=",
"value": "AAI"
}
},
{
"field": "application_type",
"expression": {
"type": "=",
"value": "ISSUE"
}
}
]
}
},
{
"x": 6,
"y": 0,
"width": 6,
"height": 2,
"vizwit": {
"title": "Licenses Renewed",
"chartType": "callout",
"provider": "socrata",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx",
"groupBy": "date_trunc_y(date_issued)",
"valueFormat": "0a",
"labelFormat": "[Calendar year] YYYY",
"order": "label desc",
"limit": 1,
"baseFilters": [
{
"field": "license_status",
"expression": {
"type": "=",
"value": "AAI"
}
},
{
"field": "application_type",
"expression": {
"type": "=",
"value": "RENEW"
}
}
]
}
},
{
"x": 0,
"y": 2,
"width": 12,
"height": 5,
"vizwit": {
"title": "Date Issued",
"description": "Date the license was issued. The spike in December 2012 refers to the City of Chicago's \"Business First!\" initiative (demo).",
"chartType": "datetime",
"provider": "socrata",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx",
"groupBy": "date_trunc_ym(date_issued)",
"triggerField": "date_issued"
}
},
{
"x": 0,
"y": 5,
"width": 4,
"height": 4,
"vizwit": {
"title": "License Status",
"description": "AAI means the license was issued. AAC means the license was cancelled",
"chartType": "pie",
"provider": "socrata",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx",
"groupBy": "license_status"
}
},
{
"x": 4,
"y": 5,
"width": 4,
"height": 4,
"vizwit": {
"title": "Community Areas",
"chartType": "choropleth",
"provider": "socrata",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx",
"groupBy": ":@computed_region_vrxf_vc4k",
"boundaries": "https://data.cityofchicago.org/resource/vrxf-vc4k.geojson?$limit=5000",
"boundariesLabel": "community",
"boundariesId": "_feature_id"
}
},
{
"x": 8,
"y": 5,
"width": 4,
"height": 4,
"vizwit": {
"title": "Application Type",
"description": "C_LOC indicates the business has moved",
"chartType": "pie",
"provider": "socrata",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx",
"groupBy": "application_type"
}
},
{
"x": 0,
"y": 8,
"width": 12,
"height": 5,
"vizwit": {
"title": "License Description",
"chartType": "bar",
"provider": "socrata",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx",
"groupBy": "license_description"
}
},
{
"x": 0,
"y": 11,
"width": 12,
"height": 7,
"vizwit": {
"title": "Business Licenses",
"chartType": "table",
"provider": "socrata",
"domain": "data.cityofchicago.org",
"dataset": "xqx5-8hwx",
"rowDetails": true
}
}
]
}