-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.yml
720 lines (696 loc) · 21.2 KB
/
config.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
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
app_token: "cQovpGcdUT1CSzgYk0KPYdAI0"
user_agent: "OpenDataNetwork.com"
timeout_ms: 5000
cache_options:
expires: 43200
odn_api:
base: "https://api.opendatanetwork.com"
# base: "http://localhost:3001"
entity_lookup_endpoint: "/entity/v1"
data_availability_endpoint: "/data/v1/availability"
data_constraint_endpoint: "/data/v1/constraint/{0}"
data_values_endpoint: "/data/v1/values"
related_child_endpoint: "/entity/v1/child"
related_parent_endpoint: "/entity/v1/parent"
related_peer_endpoint: "/entity/v1/peer"
related_sibling_endpoint: "/entity/v1/sibling"
search_dataset_endpoint: "/search/v1/dataset"
search_question_endpoint: "/search/v1/question"
map_new_url: "/data/v1/map/new"
autocomplete:
complete_max_options: 100
separator: ":"
shown_options: 5
url:
type: "/suggest/v1/${type}"
wait_ms: 150
related_entity_count: 5
question_count: 10
n_relatives: 5
mobile_width: 800
scroll_threshold: 1000
regions:
names:
region.nation: "Nation"
region.region: "Region"
region.division: "Division"
region.state: "State"
region.county: "County"
region.msa: "Metro Area"
region.place: "Place"
region.zip_code: "ZIP Code"
region.township: "Township"
region.isd_district: "Intermediate School District"
region.lea_district: "Local Education Academy"
plural_names:
region.nation: "Nations"
region.region: "Regions"
region.division: "Divisions"
region.state: "States"
region.county: "Counties"
region.msa: "Metro Areas"
region.place: "Places"
region.zip_code: "ZIP Codes"
region.township: "Townships"
region.isd_district: "Intermediate School Districts"
region.lea_district: "Local Education Academies"
catalog:
api: "http://api.us.socrata.com/api/catalog/v1"
dataset_summary_url: "https://{0}/api/views/{1}.json"
dataset_migrations_url: "https://{0}/api/migrations/{1}.json"
default_metadata:
description: ""
icon: "fa-database"
datasets:
roster: "https://odn.data.socrata.com/resource/czuf-rtrf.json"
regions: "https://odn.data.socrata.com/resource/czuf-rtrf.json"
charts:
options:
chartArea:
left: 80
width: "100%"
colors:
- "#2980b9"
- "#ee3b3b"
- "#3bdbee"
- "#ff9900"
- "#109618"
- "#0099c6"
- "#dd4477"
- "#66aa00"
- "#b82e2e"
- "#316395"
cssClassNames:
headerCell: "header-cell"
headerRow: "header-row"
tableCell: "table-cell"
curveType: "function"
height: 300
legend:
position : "top"
lineWidth: 2
pointShape: "square"
pointSize: 8
focusTarget: "category"
maps:
update_wait: 200
css_id: "leaflet-map"
mapbox:
token: "pk.eyJ1Ijoic29jcmF0YSIsImEiOiJjam4zc3Q4MHAwM2JnM3duMHBuaWFwM2ZlIn0.3wkWYqv1MF1XY32aUwk8XQ"
label_layer_id: "socrata/ckgjf6zb919q919mpribwkuc8"
base_layer_id: "socrata/ckgjf7e1v0zu419thjgtzg1qx"
map_options:
minZoom: 3.0
maxZoom: 18.0
zoomControl: false
attributionControl: false
scrollWheelZoom: false
bounceAtZoomLimits: false
zoom_control: true
zoom_control_options:
position: "topleft"
initial_zoom_options:
animate: false
maxZoom: 10.0
padding: [140, 140]
poi_zoom: 11.0
poi_wait_ms: 100
base_style:
fill: true
fillOpacity: 0.35
stroke: true
color: "#2c3e50"
weight: 1
opacity: 1
selected_style:
weight: 6
dashArray: "4, 8"
lineCap: "round"
legend_opacity: 0.5
tooltip_padding: 16
popup_options:
closeButton: true
closeOnClick: false
variables:
schools.enrollment:
charts:
- id: schools.enrollment.fte_enrollment.chart
type: line
name: Fall Student Count (FTE)
variables:
- schools.enrollment.fte_enrollment
- id: schools.enrollment.EnrollmentChange.chart
type: line
name: Change in Fall Student Count
variables:
- schools.enrollment.EnrollmentChange
- id: schools.enrollment.EnrollmentPercent.chart
type: line
name: Percent Change Fall Student Count
variables:
- schools.enrollment.EnrollmentPercent
schools.finance:
charts:
- id: schools.finance.gf_brev.chart
type: line
name: General Fund Balance/Revenue
variables:
- schools.finance.gf_brev
- id: schools.finance.gf_bal.chart
type: line
name: Total General Fund Balance
variables:
- schools.finance.gf_bal
- id: schools.finance.gf_rev.chart
type: line
name: Total General Fund Revenue
variables:
- schools.finance.gf_rev
- id: schools.finance.gf_exp.chart
type: line
name: Total General Fund Expenditure
variables:
- schools.finance.gf_exp
- id: schools.finance.11-1-51x-xxxx.chart
type: line
name: General Fund Long Term Debt Service
variables:
- schools.finance.11-1-51x-xxxx
- id: schools.finance.Unrestricted.chart
type: line
name: Unrestricted General Fund Revenue
variables:
- schools.finance.Unrestricted
schools.fiscal_metrics:
charts:
- id: schools.fiscal_metrics.gf_revexp.chart
type: line
name: General Fund Revenue/Expenditure
variables:
- schools.fiscal_metrics.gf_revexp
- id: schools.fiscal_metrics.Rev_Staff.chart
type: line
name: General Fund Revenue Per Staff FTE
variables:
- schools.fiscal_metrics.Rev_Staff
- id: schools.fiscal_metrics.Exp_Staff.chart
type: line
name: General Fund Expenditure per Staff FTE
variables:
- schools.fiscal_metrics.Exp_Staff
- id: schools.fiscal_metrics.271_SQM.chart
type: line
name: Transportation Cost Per Square Mile
variables:
- schools.fiscal_metrics.271_SQM
- id: schools.fiscal_metrics.OM_Revenue.chart
type: line
name: Operations and Maintenance/Revenue
variables:
- schools.fiscal_metrics.OM_Revenue
- id: schools.fiscal_metrics.URRatio.chart
type: line
name: Percent Unrestricted General Fund Revenue
variables:
- schools.fiscal_metrics.URRatio
- id: schools.fiscal_metrics.gf_revpupil.chart
type: line
name: Total General Fund Revenue Per Student
variables:
- schools.fiscal_metrics.gf_revpupil
- id: schools.fiscal_metrics.gf_exppupil.chart
type: line
name: Total General Fund Expenditure Per Student
variables:
- schools.fiscal_metrics.gf_exppupil
- id: schools.fiscal_metrics.gf_bpupil.chart
type: line
name: Total General Fund Balance Per Student
variables:
- schools.fiscal_metrics.gf_bpupil
schools.staffing:
charts:
- id: schools.staffing.TotalStaff.chart
type: line
name: Total Staff FTE
variables:
- schools.staffing.TotalStaff
- id: schools.staffing.Teachers.chart
type: line
name: Teachers
variables:
- schools.staffing.Teachers
- id: schools.staffing.Administrators.chart
type: line
name: Administrators
variables:
- schools.staffing.Administrators
- id: schools.staffing.Paras.chart
type: line
name: Paraprofessionals/Aides
variables:
- schools.staffing.Paras
- id: schools.staffing.NonInstructional.chart
type: line
name: Non-Instructional
variables:
- schools.staffing.NonInstructional
schools.statement_of_position:
charts:
- id: schools.statement_of_position.gf_assets.chart
type: line
name: Total General Fund Assets
variables:
- schools.statement_of_position.gf_assets
- id: schools.statement_of_position.gf_liabilities.chart
type: line
name: Total General Fund Liabilities
variables:
- schools.statement_of_position.gf_liabilities
- id: schools.statement_of_position.alRatio.chart
type: line
name: General Fund Liquidity Ratio
variables:
- schools.statement_of_position.alRatio
finance.michigan_debt:
charts:
- id: finance.michigan_debt.debt_health.chart
type: line
name: Debt Per Capita
variables:
- finance.michigan_debt.debt_health
- id: finance.michigan_debt.debt_long_term.chart
type: line
name: Long Term Debt
variables:
- finance.michigan_debt.debt_long_term
- id: finance.michigan_debt.debt_service.chart
type: line
name: Debt Service
variables:
- finance.michigan_debt.debt_service
options:
vAxis:
format: '#,###.##%'
- id: finance.michigan_debt.debt_taxable_value.chart
type: line
name: Debt as % of Taxable Value
variables:
- finance.michigan_debt.debt_taxable_value
options:
vAxis:
format: '#,###.##%'
- id: finance.michigan_debt.long_term_debt_revenue.chart
type: line
name: Long Term Debt Revenue
variables:
- finance.michigan_debt.long_term_debt_revenue
options:
vAxis:
format: '#,###.##%'
finance.michigan_general_fund:
charts:
- id: finance.michigan_general_fund.general_fund_health.chart
type: line
name: General Fund Balance Per Capita
variables:
- finance.michigan_general_fund.general_fund_health
- id: finance.michigan_general_fund.general_fund_unrestricted_balance.chart
type: line
name: General Fund Unrestricted Balance
variables:
- finance.michigan_general_fund.general_fund_unrestricted_balance
options:
vAxis:
format: '#,###.##%'
- id: finance.michigan_general_fund.liquidity_ratio.chart
type: line
name: Liquidity Ratio
variables:
- finance.michigan_general_fund.liquidity_ratio
options:
vAxis:
format: '#,###.##%'
- id: finance.michigan_general_fund.revenue_surplus.chart
type: line
name: Revenue Surplus (Deficit)
variables:
- finance.michigan_general_fund.revenue_surplus
- id: finance.michigan_general_fund.total_general_fund_expenditures.chart
type: line
name: Total General Fund Expenditures
variables:
- finance.michigan_general_fund.total_general_fund_expenditures
- id: finance.michigan_general_fund.total_general_fund_revenues.chart
type: line
name: Total General Fund Revenue
variables:
- finance.michigan_general_fund.total_general_fund_revenues
finance.michigan_pensions:
charts:
- id: finance.michigan_pensions.unfunded_pension_liability.chart
type: line
name: Unfunded Pension Liability
variables:
- finance.michigan_pensions.unfunded_pension_liability
- id: finance.michigan_pensions.pension_health.chart
type: line
name: Unfunded Pension Liability Per Capita
variables:
- finance.michigan_pensions.pension_health
finance.michigan_property_tax:
charts:
- id: finance.michigan_property_tax.property_tax_health.chart
type: line
name: Total Taxable Value Per Capita
variables:
- finance.michigan_property_tax.property_tax_health
- id: finance.michigan_property_tax.total_taxable_value.chart
type: line
name: Total Taxable Value
variables:
- finance.michigan_property_tax.total_taxable_value
crime.fbi_ucr:
charts:
- id: crime.fbi_ucr.count.chart
type: bar
constraint:
year: '2016'
name: Crime Incident Count
options:
chartArea:
left: 270
height: 450
mobileOptions:
chartArea:
left: 100
variables:
- crime.fbi_ucr.count
exclude:
- All Crimes
- id: crime.fbi_ucr.rate.chart
type: bar
constraint:
year: '2016'
name: 'Crime Incident Rate per 100,000 People'
options:
chartArea:
left: 270
height: 450
mobileOptions:
chartArea:
left: 100
variables:
- crime.fbi_ucr.rate
exclude:
- All Crimes
demographics.population:
charts:
- id: demographics.population.count.chart
type: line
forecast: 5
name: Population
variables:
- demographics.population.count
- id: demographics.population.change.chart
type: line
name: Population Change
variables:
- demographics.population.change
geographic.population:
charts:
- id: geographic.population.density.chart
type: line
forecast: 5
name: Population Density
variables:
- geographic.population.density
geographic.area:
charts:
- id: geographic.area.land_area.chart
type: table
constraint:
year: '2016'
forecast: 5
name: Land Area
variables:
- geographic.area.land_area
- id: geographic.area.water_area.chart
type: table
year: '2016'
name: Water Area
variables:
- geographic.area.water_area
economy.consumption:
charts:
- id: economy.consumption.personal_consumption_expenditures.chart
type: line
forecast: 5
name: Personal Consumption Expenditures over Time (Millions of USD)
variables:
- economy.consumption.personal_consumption_expenditures
- id: economy.consumption.expenditures_percent_change.chart
type: line
name: Change in Personal Consumption Expenditures over Time
variables:
- economy.consumption.expenditures_percent_change
economy.personal_income:
charts:
- id: economy.personal_income.annual_personal_income.chart
type: line
forecast: 5
name: Annual Personal Income in US$
variables:
- economy.personal_income.annual_personal_income
economy.cost_of_living:
charts:
- id: economy.cost_of_living.index.chart
type: table
constraint:
year: '2015'
name: Cost of Living
variables:
- economy.cost_of_living.index
- id: economy.cost_of_living.index.all.chart
type: line
constraint:
component: All
forecast: 5
name: Overall Cost of Living
variables:
- economy.cost_of_living.index
- id: economy.cost_of_living.index.goods.chart
type: line
constraint:
component: Goods
forecast: 5
name: Cost of Goods
variables:
- economy.cost_of_living.index
- id: economy.cost_of_living.index.rents.chart
type: line
constraint:
component: Rents
forecast: 5
name: Cost of Rents
variables:
- economy.cost_of_living.index
- id: economy.cost_of_living.index.other.chart
type: line
constraint:
component: Other
forecast: 5
name: Other Costs
variables:
- economy.cost_of_living.index
economy.gdp:
charts:
- id: economy.gdp.per_capita_gdp.chart
type: line
forecast: 5
description: Real (inflation adjusted) GDP per Capita over time.
name: GDP
variables:
- economy.gdp.per_capita_gdp
- id: economy.gdp.per_capita_gdp_percent_change.chart
type: line
description: Annual change in real GDP.
name: Change in GDP
variables:
- economy.gdp.per_capita_gdp_percent_change
economy.state_exports:
charts:
- id: economy.state_exports.all_goods_timeline.chart
type: line
name: Value of All Goods
constraint:
month: 'Total'
variables:
- economy.state_exports.all_goods
- id: economy.state_exports.all_goods_seasonality.chart
type: column
name: Manufacturing Seasonality
constraint:
year: 2015
exclude:
- Total
variables:
- economy.state_exports.all_goods
- id: economy.state_exports.classification.chart
type: bar
name: Types of Goods
constraint:
month: 'Total'
year: '2016'
variables:
- economy.state_exports.manufactured
- economy.state_exports.non_manufactured
education.classroom_statistics:
charts:
- id: education.classroom_statistics.chart
type: line
forecast: 7
name: Student Teacher Ratio
variables:
- education.classroom_statistics.student-teacher-ratio
education.graduation_rates:
charts:
- id: education.education.chart
type: table
constraint:
year: '2013'
name: Graduation Rates
education.education_expenditures:
charts:
- id: education.education_expenditures.capital-expenditures.chart
type: line
forecast: 7
name: Capital Expenditures
variables:
- education.education_expenditures.capital-expenditures
- id: education.education_expenditures.capital-expenditures-per-student.chart
type: line
forecast: 7
name: Capital Expenditures Per Student
variables:
- education.education_expenditures.capital-expenditures-per-student
- id: education.education_expenditures.administration-salaries.chart
type: line
forecast: 7
name: Administration Salaries
variables:
- education.education_expenditures.administration-salaries
- id: >-
education.education_expenditures.administration-salaries-per-student.chart
type: line
forecast: 7
name: Administration Salaries Per Student
variables:
- education.education_expenditures.administration-salaries-per-student
- id: education.education_expenditures.instruction-salaries.chart
type: line
forecast: 7
name: Instruction Salaries
variables:
- education.education_expenditures.instruction-salaries
- id: education.education_expenditures.instruction-salaries-per-student.chart
type: line
forecast: 7
name: Instruction Salaries Per Student
variables:
- education.education_expenditures.instruction-salaries-per-student
health.health_insurance:
charts:
- id: health.health_insurance.pctui.chart
type: line
constraint:
age: 18 to 64
race: All races
sex: Both sexes
income: All income levels
name: Percent Uninsured
forecast: 5
variables:
- health.health_insurance.pctui
- id: health.health_insurance.income.chart
type: column
constraint:
year: '2014'
age: 18 to 64
race: All races
sex: Both sexes
name: Percent Uninsured by Income Level
variables:
- health.health_insurance.pctui
- id: health.health_insurance.race.chart
type: bar
constraint:
year: '2014'
age: 18 to 64
sex: Both sexes
income: All income levels
name: Percent Uninsured by Race
variables:
- health.health_insurance.pctui
health.environmental_health:
charts:
- id: health.environmental_health.chart
type: column
constraint:
year: '2015'
name: Median Environmental Health Hazard Index
variables:
- health.environmental_health.env-health-idx-median
health.health_behaviors:
charts:
- id: health.health_behaviors.chart
type: table
constraint:
year: '2015'
name: Health Behaviors
options:
height: 400
variables:
- health.health_behaviors
jobs.earnings:
charts:
- id: jobs.earnings.gender.chart
type: table
constraint:
year: '2016'
name: Earnings and Gender
variables:
- jobs.earnings.median_earnings
- jobs.earnings.female_median_earnings
- jobs.earnings.male_median_earnings
- id: jobs.earnings.education.chart
type: stepped-area
constraint:
year: '2016'
name: Earnings and Education
options:
areaOpacity: 0
variables:
- jobs.earnings.median_earnings_less_than_high_school
- jobs.earnings.median_earnings_high_school
- jobs.earnings.median_earnings_some_college_or_associates
- jobs.earnings.median_earnings_bachelor_degree
- jobs.earnings.median_earnings_graduate_or_professional_degree
jobs.job_proximity:
charts:
- id: jobs.job_proximity
type: column
constraint:
year: '2015'
name: Median Jobs Proximity Index
variables:
- jobs.job_proximity.jobs-prox-idx-median
jobs.occupations:
charts:
- id: jobs.occupations.chart
type: table
constraint:
year: '2016'
name: Occupations
variables:
- jobs.occupations.percent_employed