-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.xml
815 lines (672 loc) · 42.2 KB
/
schema.xml
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
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
<Schema name="Data_USA">
<SharedDimension name="Date">
<Hierarchy name="Date" primary_key="date">
<Table name="dim_shared_date"/>
<Level name="Date" key_column="date" key_type="text">
</Level>
</Hierarchy>
</SharedDimension>
<SharedDimension name="State">
<Hierarchy name="State" primary_key="state_id">
<Table name="dim_shared_state"/>
<Level name="State" key_column="state_id" name_column="state" key_type="text">
</Level>
</Hierarchy>
</SharedDimension>
<SharedDimension name="State Election">
<Hierarchy name="State" primary_key="geoid">
<Table name="states_shapes2017"/>
<Level name="State" key_column="geoid" name_column="name" key_type="text">
<Annotation name="dim_type">GEOGRAPHY</Annotation>
</Level>
</Hierarchy>
</SharedDimension>
<SharedDimension name="County Election">
<Hierarchy name="County" primary_key="geoid">
<Table name="counties_shapes2017"/>
<Level name="County" key_column="geoid" name_column="name" key_type="text">
<Annotation name="dim_type">GEOGRAPHY</Annotation>
</Level>
</Hierarchy>
</SharedDimension>
<SharedDimension name="Product or Service" default_hierarchy="Product Level 7">
<Annotation name="dim_type">Product or Service</Annotation>
<Hierarchy name="Product Level 1">
<Table name="dim_cpi_level1" />
<Level key_column="product_id" name="Level 1.1" name_column="product_name" key_type="nontext"/>
</Hierarchy>
<Hierarchy name="Product Level 2">
<Table name="dim_cpi_level2" />
<Level key_column="level1_id" name="Level 2.1" name_column="level1_name" key_type="nontext"/>
<Level key_column="product_id" name="Level 2.2" name_column="product_name" key_type="nontext"/>
</Hierarchy>
<Hierarchy name="Product Level 3">
<Table name="dim_cpi_level3" />
<Level key_column="level1_id" name="Level 3.1" name_column="level1_name" key_type="nontext"/>
<Level key_column="level2_id" name="Level 3.2" name_column="level2_name" key_type="nontext"/>
<Level key_column="product_id" name="Level 3.3" name_column="product_name" key_type="nontext"/>
</Hierarchy>
<Hierarchy name="Product Level 4">
<Table name="dim_cpi_level4" />
<Level key_column="level1_id" name="Level 4.1" name_column="level1_name" key_type="nontext"/>
<Level key_column="level2_id" name="Level 4.2" name_column="level2_name" key_type="nontext"/>
<Level key_column="level3_id" name="Level 4.3" name_column="level3_name" key_type="nontext"/>
<Level key_column="product_id" name="Level 4.4" name_column="product_name" key_type="nontext"/>
</Hierarchy>
<Hierarchy name="Product Level 5">
<Table name="dim_cpi_level5" />
<Level key_column="level1_id" name="Level 5.1" name_column="level1_name" key_type="nontext"/>
<Level key_column="level2_id" name="Level 5.2" name_column="level2_name" key_type="nontext"/>
<Level key_column="level3_id" name="Level 5.3" name_column="level3_name" key_type="nontext"/>
<Level key_column="level4_id" name="Level 5.4" name_column="level4_name" key_type="nontext"/>
<Level key_column="product_id" name="Level 5.5" name_column="product_name" key_type="nontext"/>
</Hierarchy>
<Hierarchy name="Product Level 6">
<Table name="dim_cpi_level6" />
<Level key_column="level1_id" name="Level 6.1" name_column="level1_name" key_type="nontext"/>
<Level key_column="level2_id" name="Level 6.2" name_column="level2_name" key_type="nontext"/>
<Level key_column="level3_id" name="Level 6.3" name_column="level3_name" key_type="nontext"/>
<Level key_column="level4_id" name="Level 6.4" name_column="level4_name" key_type="nontext"/>
<Level key_column="level5_id" name="Level 6.5" name_column="level5_name" key_type="nontext"/>
<Level key_column="product_id" name="Level 6.6" name_column="product_name" key_type="nontext"/>
</Hierarchy>
<Hierarchy name="Product Level 7">
<Table name="dim_cpi_level7" />
<Level key_column="level1_id" name="Level 7.1" name_column="level1_name" key_type="nontext"/>
<Level key_column="level2_id" name="Level 7.2" name_column="level2_name" key_type="nontext"/>
<Level key_column="level3_id" name="Level 7.3" name_column="level3_name" key_type="nontext"/>
<Level key_column="level4_id" name="Level 7.4" name_column="level4_name" key_type="nontext"/>
<Level key_column="level5_id" name="Level 7.5" name_column="level5_name" key_type="nontext"/>
<Level key_column="level6_id" name="Level 7.6" name_column="level6_name" key_type="nontext"/>
<Level key_column="product_id" name="Level 7.7" name_column="product_name" key_type="nontext"/>
</Hierarchy>
</SharedDimension>
<Cube name="Data_USA_Senate_election">
<Annotation name="source_name">MIT Data Electionlab</Annotation>
<Annotation name="source_link">https://electionlab.mit.edu/data</Annotation>
<Annotation name="dataset_name">U.S Senate 1976-2020</Annotation>
<Annotation name="dataset_link">https://dataverse.harvard.edu/api/access/datafile/:persistentId?persistentId=doi:10.7910/DVN/PEJ5QU/XXQCIK</Annotation>
<Annotation name="source_name">Federal Election Commision</Annotation>
<Annotation name="source_link">https://www.fec.gov/</Annotation>
<Annotation name="available_dimensions">Candidate, Geography, Party, Year, Candidate Other, Special</Annotation>
<Annotation name="hidden_dimensions">Unofficial, Version</Annotation>
<Annotation name="hide_in_ui">Unofficial, Version</Annotation>
<Table name="election_senate" primary_key="candidate_id"/>
<DimensionUsage name="State" source="State Election" foreign_key="geo_id" type="geo" />
<Dimension foreign_key="candidate_id" name="Candidate" source="election_senate">
<Hierarchy name="Candidate" primary_key="candidate_id">
<Level name="Candidate" key_column="candidate_id" name_column="candidate" key_type="text">
<Property name="Office" column="office"/>
</Level>
</Hierarchy>
<Annotation name="dim_type">CANDIDATE</Annotation>
</Dimension>
<Dimension foreign_key="candidate_other" name="Candidate Other" source="election_senate">
<Hierarchy name="Candidate Other" primary_key="candidate_other">
<Level key_column="candidate_other" name="Candidate Other" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">CANDIDATE OTHER</Annotation>
</Dimension>
<Dimension foreign_key="party" name="Party" source="election_senate">
<Hierarchy name="Party" primary_key="party">
<Level key_column="party" name="Party" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">PARTY</Annotation>
</Dimension>
<Dimension foreign_key="special" name="Special" source="election_senate">
<Hierarchy name="Special" primary_key="special">
<Level key_column="special" name="Special"/>
</Hierarchy>
<Annotation name="dim_type">SPECIAL</Annotation>
</Dimension>
<Dimension foreign_key="unofficial" name="Unofficial" source="election_senate">
<Hierarchy name="Unofficial" primary_key="unofficial">
<Level key_column="unofficial" name="Unofficial"/>
</Hierarchy>
</Dimension>
<Dimension type="time" foreign_key="year" name="Year" source="election_senate">
<Hierarchy name="Year" primary_key="year">
<Level key_column="year" name="Year"/>
</Hierarchy>
<Annotation name="dim_type">YEAR</Annotation>
<Annotation name="default_year">2020</Annotation>
</Dimension>
<Measure name="Candidate Votes" column="candidatevotes" aggregator="sum" visible="true">
<Annotation name="units_ofmeasurement">VOTES</Annotation>
</Measure>
<Measure name="Total Votes" column="totalvotes" aggregator="max" visible="true">
<Annotation name="units_ofmeasurement">VOTES</Annotation>
</Measure>
</Cube>
<Cube name="Data_USA_House_election">
<Annotation name="source_name">MIT Data Electionlab</Annotation>
<Annotation name="source_link">https://electionlab.mit.edu/data</Annotation>
<Annotation name="dataset_name">U.S House 1976-2020</Annotation>
<Annotation name="dataset_link">https://dataverse.harvard.edu/api/access/datafile/:persistentId?persistentId=doi:10.7910/DVN/IG0UN2/8KAB8V</Annotation>
<Annotation name="source_name">Federal Election Commision</Annotation>
<Annotation name="source_link">https://www.fec.gov/</Annotation>
<Annotation name="available_dimensions">Candidate, Geography, Party, Year, Candidate Other, Special</Annotation>
<Annotation name="hidden_dimensions">Unofficial, Version</Annotation>
<Annotation name="hide_in_ui">Unofficial, Version</Annotation>
<Table name="election_house" primary_key="candidate_id"/>
<Dimension type="geo" foreign_key="geo_id" name="Geography" default_hierarchy="State">
<Hierarchy name="Geography">
<Table name="dim_election_geo" />
<Level name="State" key_column="state_id" name_column="state_name" key_type="text"/>
<Level name="Congressional District" key_column="congressional_id" name_column="congressional_name" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">GEOGRAPHY</Annotation>
</Dimension>
<Dimension foreign_key="candidate_id" name="Candidate" source="election_house">
<Hierarchy name="Candidate" primary_key="candidate_id">
<Level name="Candidate" key_column="candidate_id" name_column="candidate" key_type="text">
<Property name="Office" column="office"/>
</Level>
</Hierarchy>
<Annotation name="dim_type">CANDIDATE</Annotation>
</Dimension>
<Dimension foreign_key="candidate_other" name="Candidate Other" source="election_house">
<Hierarchy name="Candidate Other" primary_key="candidate_other">
<Level key_column="candidate_other" name="Candidate Other" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">CANDIDATE OTHER</Annotation>
</Dimension>
<Dimension foreign_key="party" name="Party" source="election_house">
<Hierarchy name="Party" primary_key="party">
<Level key_column="party" name="Party" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">PARTY</Annotation>
</Dimension>
<Dimension foreign_key="special" name="Special" source="election_house">
<Hierarchy name="Special" primary_key="special">
<Level key_column="special" name="Special"/>
</Hierarchy>
<Annotation name="dim_type">SPECIAL</Annotation>
</Dimension>
<Dimension foreign_key="runoff" name="Runoff" source="election_house">
<Hierarchy name="Runoff" primary_key="runoff">
<Level key_column="runoff" name="Runoff"/>
</Hierarchy>
<Annotation name="dim_type">RUNOFF</Annotation>
</Dimension>
<Dimension foreign_key="unofficial" name="Unofficial" source="election_house">
<Hierarchy name="Unofficial" primary_key="unofficial">
<Level key_column="unofficial" name="Unofficial"/>
</Hierarchy>
</Dimension>
<Dimension type="time" foreign_key="year" name="Year" source="election_house">
<Hierarchy name="Year" primary_key="year">
<Level key_column="year" name="Year"/>
</Hierarchy>
<Annotation name="dim_type">YEAR</Annotation>
<Annotation name="default_year">2020</Annotation>
</Dimension>
<Measure name="Candidate Votes" column="candidatevotes" aggregator="sum" visible="true">
<Annotation name="units_ofmeasurement">VOTES</Annotation>
</Measure>
<Measure measure_type="units_ofmeasurement" name="Total Votes" column="totalvotes" aggregator="max" visible="true">
<Annotation name="units_ofmeasurement">VOTES</Annotation>
</Measure>
</Cube>
<Cube name="Data_USA_President_election">
<Annotation name="source_name">MIT Data Electionlab</Annotation>
<Annotation name="source_link">https://electionlab.mit.edu/data</Annotation>
<Annotation name="dataset_name">U.S President 1976-2020</Annotation>
<Annotation name="dataset_link">https://dataverse.harvard.edu/api/access/datafile/:persistentId?persistentId=doi:10.7910/DVN/42MVDX/MFU99O</Annotation>
<Annotation name="dataset_name">County Presidential Election Returns 2000-2020</Annotation>
<Annotation name="dataset_link">https://dataverse.harvard.edu/api/access/datafile/:persistentId?persistentId=doi:10.7910/DVN/VOQCHQ/FQ9NBF</Annotation>
<Annotation name="source_name">Federal Election Commision</Annotation>
<Annotation name="source_link">https://www.fec.gov/</Annotation>
<Annotation name="available_dimensions">Candidate, Geography, Party, Year</Annotation>
<Annotation name="hidden_dimensions">Version</Annotation>
<Table name="election_president" primary_key="candidate_id"/>
<Dimension type= "geo" name="Geography" foreign_key="geo_id" default_hierarchy="Nation">
<Hierarchy hasAll="true" name="Nation">
<Table name="us_nation" />
<Level name="Nation" key_column="geoid" name_column="name" key_type="text"/>
</Hierarchy>
<Hierarchy hasAll="true" name="State">
<Table name="states_shapes2017" />
<Level name="State" key_column="geoid" name_column="name" key_type="text"/>
</Hierarchy>
<Hierarchy hasAll="true" name="County">
<Table name="counties_shapes2017" />
<Level name="State County" key_column="state_id" name_column="state_name" key_type="text"/>
<Level name="County" key_column="geoid" name_column="name" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">GEOGRAPHY</Annotation>
</Dimension>
<Dimension foreign_key="candidate_id" name="Candidate" source="election_president">
<Hierarchy name="Candidate" primary_key="candidate_id">
<Level name="Candidate" key_column="candidate_id" name_column="candidate" key_type="text">
<Property name="Office" column="office"/>
</Level>
</Hierarchy>
<Annotation name="dim_type">CANDIDATE</Annotation>
</Dimension>
<Dimension foreign_key="party" name="Party" source="election_president">
<Hierarchy name="Party" primary_key="party">
<Level key_column="party" name="Party" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">PARTY</Annotation>
</Dimension>
<Dimension type="time" foreign_key="year" name="Year" source="election_president">
<Hierarchy name="Year" primary_key="year">
<Level key_column="year" name="Year">
<Annotation name="default_year">2020</Annotation>
</Level>
</Hierarchy>
<Annotation name="dim_type">YEAR</Annotation>
</Dimension>
<Measure name="Candidate Votes" column="candidatevotes" aggregator="sum" visible="true">
<Annotation name="units_of_measurement">VOTES</Annotation>
</Measure>
<Measure name="Total Votes" column="totalvotes" aggregator="max" visible="true">
<Annotation name="units_of_measurement">VOTES</Annotation>
</Measure>
</Cube>
<Cube name="Data_USA_House_Compact_election">
<Annotation name="source_name">MIT Data Electionlab</Annotation>
<Annotation name="source_link">https://electionlab.mit.edu/data</Annotation>
<Annotation name="dataset_name">U.S House 1976-2020</Annotation>
<Annotation name="dataset_link">https://dataverse.harvard.edu/api/access/datafile/:persistentId?persistentId=doi:10.7910/DVN/IG0UN2/8KAB8V</Annotation>
<Annotation name="source_name">Federal Election Commision</Annotation>
<Annotation name="source_link">https://www.fec.gov/</Annotation>
<Annotation name="hidden_dimensions">Version</Annotation>
<Annotation name="source_description">By applying scientific principles to how elections are studied and administered, the MIT Election Lab aims to improve the democratic experience for all U.S. voters. The lab supports advances in election science by collecting, analyzing, and sharing core data and findings. They also aim to build relationships with election officials and others to help apply new scientific research to the practice of democracy in the United States.</Annotation>
<Table name="election_house_compact" schema="election" primary_key="winning_candidate"/>
<Dimension type="geo" foreign_key="district" name="Geography" default_hierarchy="State">
<Hierarchy name="Geography">
<Table name="dim_election_geo" />
<Level name="State" key_column="state_id" name_column="state_name" key_type="text"/>
<Level name="Congressional District" key_column="congressional_id" name_column="congressional_name" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">GEOGRAPHY</Annotation>
</Dimension>
<Dimension type="time" foreign_key="year" name="Year" source="election_house_compact">
<Hierarchy name="Year" primary_key="year">
<Level name="Year" key_column="year"/>
</Hierarchy>
<Annotation name="dim_type">YEAR</Annotation>
<Annotation name="default_year">2020</Annotation>
</Dimension>
<Dimension foreign_key="winning_candidate" name="Candidate" source="election_house_compact">
<Hierarchy name="Candidate" primary_key="winning_candidate">
<Level name="Candidate" key_column="winning_candidate" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">CANDIDATE</Annotation>
</Dimension>
<Dimension foreign_key="special" name="Special" source="election_house_compact">
<Hierarchy name="Special" primary_key="special">
<Level key_column="special" name="Special"/>
</Hierarchy>
<Annotation name="dim_type">SPECIAL</Annotation>
</Dimension>
<Dimension foreign_key="party" name="Party" source="election_house_compact">
<Hierarchy name="Party" primary_key="party">
<Level key_column="party" name="Party" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">PARTY</Annotation>
</Dimension>
<Dimension foreign_key="runoff" name="Runoff" source="election_house_compact">
<Hierarchy name="Runoff" primary_key="runoff">
<Level key_column="runoff" name="Runoff"/>
</Hierarchy>
<Annotation name="dim_type">RUNOFF</Annotation>
</Dimension>
<Measure name="Winner Votes" column="winner_votes" aggregator="sum" visible="true">
<Annotation name="units_ofmeasurement">VOTES</Annotation>
</Measure>
<Measure name="Other Votes" column="other_votes" aggregator="sum" visible="true">
<Annotation name="units_ofmeasurement">VOTES</Annotation>
</Measure>
<Measure name="Total Votes" column="total_votes" aggregator="max" visible="true">
<Annotation name="units_ofmeasurement">VOTES</Annotation>
</Measure>
</Cube>
<Cube name="Data_USA_Electoral_College_president">
<Annotation name="source_name">Federal Election Commision</Annotation>
<Annotation name="source_link">https://www.fec.gov/</Annotation>
<Annotation name="dataset_name">Federal Elections 2016: Election Results for the U.S. President, the U.S. Senate, and the U.S. House of Representatives</Annotation>
<Annotation name="dataset_link">https://transition.fec.gov/pubrec/fe2016/federalelections2016.xlsx</Annotation>
<Annotation name="dataset_name">Federal Elections 2004: Election Results for the U.S. President, the U.S. Senate, and the U.S. House of Representatives</Annotation>
<Annotation name="dataset_link">https://transition.fec.gov/pubrec/fe2004/federalelections2004.xls</Annotation>
<Annotation name="available_dimensions">Geography, Party, Year</Annotation>
<Table name="election_electoralcollege" primary_key="geoid"/>
<Dimension type="geo" name="Geography" foreign_key="geoid" >
<Hierarchy name="Geography" hasAll="true" >
<Table name="states_shapes2017" />
<Level name="State" key_column="geoid" name_column="name" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">GEOGRAPHY</Annotation>
</Dimension>
<Dimension type="time" foreign_key="year" name="Year" source="election_electoralcollege">
<Hierarchy name="Year" primary_key="year">
<Level key_column="year" name="Year"/>
</Hierarchy>
<Annotation name="dim_type">YEAR</Annotation>
<Annotation name="default_year">2020</Annotation>
</Dimension>
<Dimension foreign_key="party" name="Party" source="election_electoralcollege">
<Hierarchy name="Party" primary_key="party">
<Level key_column="party" name="Party" key_type="text"/>
</Hierarchy>
<Annotation name="dim_type">PARTY</Annotation>
</Dimension>
<Measure name="Electoral College Votes" column="electoralvote" aggregator="sum" visible="true">
<Annotation name="units_ofmeasurement">VOTES</Annotation>
</Measure>
</Cube>
<Cube name="BLS Unemployment Insurance Claims">
<Annotation name="source_name">U.S Department of Labor</Annotation>
<Annotation name="source_link">https://www.dol.gov/</Annotation>
<Table name="bls_insurance_claims" primary_key="week_ended" />
<DimensionUsage foreign_key="fips_code" source="State" name="State" />
<Dimension name="Week Ended" foreign_key="week_ended">
<Hierarchy name="Week Ended" primary_key="date">
<Table name="dim_shared_date"/>
<Level name="Week Ended" key_column="date" key_type="text" />
</Hierarchy>
</Dimension>
<Dimension name="Week Previous" foreign_key="reflecting_week_end">
<Hierarchy name="Week Previous" primary_key="date">
<Table name="dim_shared_date"/>
<Level name="Week Previous" key_column="date" key_type="text" />
</Hierarchy>
</Dimension>
<Measure name="Initial Claims" column="initial_claims" aggregator="sum">
<Annotation name="details">Value</Annotation>
</Measure>
<Measure name="Continued Claims" column="continued_claims" aggregator="sum">
<Annotation name="details">Value</Annotation>
</Measure>
<Measure name="Covered Employment" column="covered_employment" aggregator="sum">
<Annotation name="details">Value</Annotation>
</Measure>
<Measure name="Insured Unemployment Rate" column="insured_unemployment_rate" aggregator="avg">
<Annotation name="details">Rate</Annotation>
</Measure>
</Cube>
<Cube name="BLS Unemployment Insurance Claims - Most Recent">
<Annotation name="source_name">U.S Department of Labor</Annotation>
<Annotation name="source_link">https://www.dol.gov/</Annotation>
<Table name="bls_insurance_most_recent" primary_key="week_ended" />
<DimensionUsage foreign_key="fips_code" source="State" name="State" />
<Dimension name="Week Ended" foreign_key="week_ended">
<Hierarchy name="Week Ended" primary_key="date">
<Table name="dim_shared_date"/>
<Level name="Week Ended" key_column="date" key_type="text" />
</Hierarchy>
</Dimension>
<Dimension name="Week Previous" foreign_key="reflecting_week_end">
<Hierarchy name="Week Previous" primary_key="date">
<Table name="dim_shared_date"/>
<Level name="Week Previous" key_column="date" key_type="text" />
</Hierarchy>
</Dimension>
<Measure name="Initial Claims" column="initial_claims" aggregator="sum">
<Annotation name="details">Value</Annotation>
</Measure>
<Measure name="Continued Claims" column="continued_claims" aggregator="sum">
<Annotation name="details">Value</Annotation>
</Measure>
<Measure name="Covered Employment" column="covered_employment" aggregator="sum">
<Annotation name="details">Value</Annotation>
</Measure>
<Measure name="Insured Unemployment Rate" column="insured_unemployment_rate" aggregator="avg">
<Annotation name="details">Rate</Annotation>
</Measure>
</Cube>
<Cube name="BLS Employment - Industry Only" >
<Annotation name="source_name">Bureau of Labor Statistics</Annotation>
<Annotation name="source_description">The Bureau of Labor Statistics (BLS) of the U.S. Department of Labor is the principal federal agency responsible for measuring labor market activity, working conditions, and price changes in the economy.</Annotation>
<Annotation name="dataset_name">Current Employment Statistics (CES)</Annotation>
<Annotation name="dataset_link">https://www.bls.gov/data/#employment</Annotation>
<Annotation name="topic">Economy</Annotation>
<Annotation name="subtopic">Employment</Annotation>
<Table name="bls_industry_fact" />
<Dimension name="Time" foreign_key="time_id" >
<Hierarchy name="Time" primary_key="time_id" >
<Table name="dim_time"/>
<Level name="Month of Year" key_column="time_id" name_column="month_name" key_type="text"/>
</Hierarchy>
</Dimension>
<Dimension name="Employment State" foreign_key="state_id" >
<Hierarchy name="Employment State" primary_key="state_id">
<Table name="dim_state" />
<Level name="Employment State" key_column="state_id" name_column="state_name" key_type="text"/>
</Hierarchy>
</Dimension>
<Dimension name="Industry" foreign_key="industry_id" >
<Hierarchy name="Industry" primary_key="industry_id">
<Table name="dim_industry" />
<Level name="Industry" key_column="industry_id" name_column="industry_name" key_type="text" />
</Hierarchy>
</Dimension>
<Measure name="NSA Employees" column="NSA_employees" aggregator="sum" visible="true"/>
<Measure name="NSA Average Employees" column="NSA_employees" aggregator="avg" visible="true"/>
<Measure name="SA Employees" column="SA_employees" aggregator="sum" visible="true"/>
<Measure name="SA Average Employees" column="SA_employees" aggregator="avg" visible="true"/>
</Cube>
<Cube name="Consumer Price Index - CPI" >
<Annotation name="source_name">Bureau of Labor Statistics</Annotation>
<Annotation name="source_description">The Bureau of Labor Statistics (BLS) of the U.S. Department of Labor is the principal federal agency responsible for measuring labor market activity, working conditions, and price changes in the economy.</Annotation>
<Annotation name="dataset_name">Consumer Price Index (CPI)</Annotation>
<Annotation name="dataset_link">https://www.bls.gov/cpi/tables/supplemental-files/home.htm</Annotation>
<Annotation name="topic">Economy</Annotation>
<Annotation name="subtopic">Consumer Price</Annotation>
<Table name="cpi_data" />
<Dimension name="Time" foreign_key="time_id" >
<Hierarchy name="Time" primary_key="time_id" >
<Table name="dim_months_cpi"/>
<Level name="Year" key_column="year" key_type="nontext"/>
<Level name="Month and Year" key_column="time_id" name_column="month_name" key_type="nontext"/>
</Hierarchy>
</Dimension>
<DimensionUsage foreign_key="product_id" name="Product or Service" source="Product or Service">
<Annotation name="dim_type">Product or Service</Annotation>
</DimensionUsage>
<Measure name="Consumer Price Inde" column="unadjusted_percent_change" aggregator="avg" visible="true"/>
<Measure name="Standard Error" column="standard_error" aggregator="avg" visible="true"/>
<Measure name="Percent Change" column="percent_change" aggregator="avg" visible="true"/>
</Cube>
<Cube name="BLS Employment - Supersector Only" >
<Annotation name="source_name">Bureau of Labor Statistics</Annotation>
<Annotation name="source_description">The Bureau of Labor Statistics (BLS) of the U.S. Department of Labor is the principal federal agency responsible for measuring labor market activity, working conditions, and price changes in the economy.</Annotation>
<Annotation name="dataset_name">Current Employment Statistics (CES)</Annotation>
<Annotation name="dataset_link">https://www.bls.gov/data/#employment</Annotation>
<Annotation name="topic">Economy</Annotation>
<Annotation name="subtopic">Employment</Annotation>
<Table name="bls_supersector_fact" />
<Dimension name="Time" foreign_key="time_id" >
<Hierarchy name="Time" primary_key="time_id" >
<Table name="dim_time"/>
<Level name="Month of Year" key_column="time_id" name_column="month_name" key_type="text"/>
</Hierarchy>
</Dimension>
<Dimension name="Employment State" foreign_key="state_id" >
<Hierarchy name="Employment State" primary_key="state_id">
<Table name="dim_state" />
<Level name="Employment State" key_column="state_id" name_column="state_name" key_type="text"/>
</Hierarchy>
</Dimension>
<Dimension name="Supersector" foreign_key="supersector_id" >
<Hierarchy name="Supersector" primary_key="supersector_id">
<Table name="dim_supersector" />
<Level name="Supersector" key_column="supersector_id" name_column="supersector_name" key_type="text" />
</Hierarchy>
</Dimension>
<Measure name="NSA Employees" column="NSA_employees" aggregator="sum" visible="true"/>
<Measure name="NSA Average Employees" column="NSA_employees" aggregator="avg" visible="true"/>
<Measure name="SA Employees" column="SA_employees" aggregator="sum" visible="true"/>
<Measure name="SA Average Employees" column="SA_employees" aggregator="avg" visible="true"/>
</Cube>
<Cube name="ed_defaults">
<Annotation name="source_name">Department of Education</Annotation>
<Annotation name="source_link">https://www.ed.gov/</Annotation>
<Annotation name="source_description">The Department of Education's 'mission is to promote student achievement and preparation for global competitiveness by fostering educational excellence and ensuring equal access.'</Annotation>
<Annotation name="dataset_name">Cohort Default Rate Database</Annotation>
<Annotation name="dataset_link">https://www2.ed.gov/offices/OSFAP/defaultmanagement/cdr.html</Annotation>
<Annotation name="dataset_description">According to the Department of Education: 'A cohort default rate is the percentage of a school's borrowers who enter repayment on certain Federal Family Education Loan (FFEL) Program or William D. Ford Federal Direct Loan (Direct Loan) Program loans during a particular federal fiscal year (FY), October 1 to September 30, and default or meet other specified conditions prior to the end of the second following fiscal year.'</Annotation>
<Annotation name="topic">Education</Annotation>
<Annotation name="subtopic">Default Rate</Annotation>
<Table name="ed_defaults" />
<Dimension name="Year" foreign_key="year">
<Annotation name="dim_type">TIME</Annotation>
<Hierarchy name="Year" primary_key="Year">
<Level name="Year" key_column="year" key_type="nontext" />
</Hierarchy>
</Dimension>
<Dimension foreign_key="county" name="Geography">
<Annotation name="dim_type">GEOGRAPHY</Annotation>
<Hierarchy name="Geography" primary_key="geoid">
<Table name="counties_shapes2017" />
<Level key_column="state_id" name="State" name_column="state_name" key_type="text" />
<Level key_column="geoid" name="County" name_column="name" key_type="text" />
</Hierarchy>
</Dimension>
<Dimension name="OPEID" foreign_key="opeid">
<Annotation name="dim_type">OPEID</Annotation>
<Hierarchy name="OPEID" primary_key="opeid">
<Level name="OPEID" key_column="opeid" name_column="opeid_name" key_type="text" />
</Hierarchy>
</Dimension>
<Measure aggregator="sum" column="num" name="Borrowers In Default" visible="true">
<Annotation name="units_of_measurement">People</Annotation>
</Measure>
<Measure aggregator="sum" column="denom" name="Borrowers Entered Repayment" visible="true">
<Annotation name="units_of_measurement">People</Annotation>
</Measure>
<Measure aggregator="avg" column="default_rate" name="Default Rate">
<Annotation name="units_of_measurement">Rate</Annotation>
</Measure>
</Cube>
<Cube name="bea_use">
<Annotation name="source_name">Bureau of Economic Analysis</Annotation>
<Annotation name="source_link">https://bea.gov/</Annotation>
<Annotation name="topic">Economy</Annotation>
<Annotation name="subtopic">Industry Flows</Annotation>
<Annotation name="dataset_name">Use Tables</Annotation>
<Annotation name="dataset_link">https://www.bea.gov/industry/input-output-accounts-data</Annotation>
<Annotation name="source_description">The Bureau of Economic Analysis (BEA) publishes data on Input-Output, also called Make-Use, for industries in the United States. This Dataset is provided by the US Department of Commerce. Use of commodities by industry are valued at producers prices.</Annotation>
<Table name="bea_use" />
<Dimension name="Year" foreign_key="year">
<Annotation name="dim_type">TIME</Annotation>
<Hierarchy name="Year" primary_key="Year">
<Level name="Year" key_column="year" key_type="nontext" />
</Hierarchy>
</Dimension>
<Dimension name="Industry IO Code" foreign_key="industry_iocode">
<Hierarchy name="Industry IO Code" primary_key="industry_iocode">
<Level key_column="industry_iocode_parent" name_column="industry_iocode_parent_name" name="Industry L0" key_type="text" />
<Level key_column="industry_iocode" name_column="industry_iocode_description" name="Industry L1" key_type="text" />
</Hierarchy>
</Dimension>
<Dimension name="Commodity IO Code" foreign_key="commodity_iocode">
<Hierarchy name="Commodity IO Code" primary_key="commodity_iocode">
<Level key_column="commodity_iocode_parent" name_column="commodity_iocode_parent_name" name="Commodity L0" key_type="text"/>
<Level key_column="commodity_iocode" name_column="commodity_iocode_description" name="Commodity L1" key_type="text"/>
</Hierarchy>
</Dimension>
<Measure aggregator="sum" column="value_millions" name="Value Millions">
<Annotation name="units_of_measurement">USD</Annotation>
</Measure>
</Cube>
<Cube name="dot_faf">
<Annotation name="source_name">Department of Transportation Federal Highway Administration</Annotation>
<Annotation name="source_description">The Freight Analysis Framework (FAF), produced through a partnership between Bureau of Transportation Statistics (BTS) and Federal Highway Administration (FHWA), integrates data from a variety of sources to create a comprehensive picture of freight movement among states and major metropolitan areas by all modes of transportation. Starting with data from the 2012 Commodity Flow Survey (CFS) and international trade data from the Census Bureau, FAF incorporates data from agriculture, extraction, utility, construction, service, and other sectors. The FAF data give a picture of which goods are shipped from one region of the US to another region, according to type of commodity, mode of shipment, value, and weight.</Annotation>
<Annotation name="dataset_name">Freight Analysis Framework Domestic Flows</Annotation>
<Annotation name="dataset_link">https://ops.fhwa.dot.gov/freight/freight_analysis/faf/</Annotation>
<Annotation name="subtopic">Freight</Annotation>
<Annotation name="topic">Economy</Annotation>
<Annotation name="source_link">https://www.fhwa.dot.gov/</Annotation>
<Table name="dot_faf" />
<Dimension name="Year" foreign_key="year">
<Annotation name="dim_type">TIME</Annotation>
<Hierarchy name="Year" primary_key="Year">
<Level name="Year" key_column="year" key_type="nontext">
<Property name="Year Base" column="year_base"/>
</Level>
</Hierarchy>
</Dimension>
<Dimension foreign_key="origin_region" name="Origin">
<Annotation name="dim_type">GEOGRAPHY</Annotation>
<Hierarchy name="Origin" primary_key="region_id">
<Table name="faf_regions" />
<Level key_column="state_id" name_column="state_name" name="Origin State" key_type="text"/>
<Level key_column="region_id" name_column="region_name" name="Origin Region" key_type="text"/>
</Hierarchy>
</Dimension>
<Dimension foreign_key="destination_region" name="Destination">
<Annotation name="dim_type">GEOGRAPHY</Annotation>
<Hierarchy primary_key="region_id" name="Destination">
<Table name="faf_regions"/>
<Level key_column="state_id" name_column="state_name" name="Destination State" key_type="text"/>
<Level key_column="region_id" name_column="region_name" name="Destination Region" key_type="text"/>
</Hierarchy>
</Dimension>
<Dimension foreign_key="sctg" name="SCTG">
<Annotation name="dim_type">PRODUCT</Annotation>
<Hierarchy name="SCTG" primary_key="sctg_code">
<Table name="sctg" />
<Level key_column="sctg_code" name_column="sctg_name" name="SCTG2" key_type="text"/>
</Hierarchy>
</Dimension>
<Dimension foreign_key="mode" name="Transportation Mode">
<Annotation name="dim_type">GENERIC</Annotation>
<Hierarchy name="Transportation Mode">
<InlineTable alias="transportation_mode">
<ColumnDef name="id" key_type="nontext" key_column_type="UInt8"/>
<ColumnDef name="name" key_type="text"/>
<ColumnDef name="description" key_type="text"/>
<Row>
<Value column="id">1</Value>
<Value column="name">Truck</Value>
<Value column="description">Includes private and for-hire truck. Does not include truck that is part of Multiple Modes and Mail or truck moves in conjunction with domestic air cargo.</Value>
</Row>
<Row>
<Value column="id">2</Value>
<Value column="name">Rail</Value>
<Value column="description">Includes any common carrier or private railroad. Does not include rail that is part of Multiple Modes and Mail. </Value>
</Row>
<Row>
<Value column="id">3</Value>
<Value column="name">Water</Value>
<Value column="description">Includes shallow draft, deep draft, Great Lakes and intra-port shipments. Does not include water that is part of Multiple Modes and Mail.</Value>
</Row>
<Row>
<Value column="id">4</Value>
<Value column="name">Air (includes truck-air)</Value>
<Value column="description">Includes shipments move by air or a combination of truck and air in commercial or private aircraft. Includes air freight and air express. In the case of imports and exports by air, domestic moves by ground to and from the port of entry or exit are categorized with Truck.</Value>
</Row>
<Row>
<Value column="id">5</Value>
<Value column="name">Multiple Modes and Mail</Value>
<Value column="description">Includes shipments by multiple modes and by parcel delivery services, U.S. Postal Service, or couriers (capped at 150 pounds). This category is not limited to containerized or trailer-on-flatcar shipments.</Value>
</Row>
<Row>
<Value column="id">6</Value>
<Value column="name">Pipeline</Value>
<Value column="description">Includes crude petroleum, natural gas, and product pipelines. Note: Does include flows from offshore wells to land which are counted as Water moves by the U.S. Army Corps of Engineers. Does not include pipeline that is part of Multiple Modes and Mail.</Value>
</Row>
<Row>
<Value column="id">7</Value>
<Value column="name">Other and Unknown</Value>
<Value column="description">Includes movements not elsewhere classified such as flyaway aircraft, and shipments for which the mode cannot be determined.</Value>
</Row>
</InlineTable>
<Level key_column="id" name="Transportation Mode" name_column="name" key_type="nontext">
<Property name="Description" column="description"/>
</Level>
</Hierarchy>
</Dimension>
<Measure aggregator="sum" column="value_millions" name="Millions Of Dollars" visible="true">
<Annotation name="details">Value in millions of 2012 US Dollars.</Annotation>
<Annotation name="units_of_measurement">USD</Annotation>
</Measure>
<Measure aggregator="sum" column="thousand_tons" name="Thousands Of Tons" visible="true">
<Annotation name="details">Weight in thousands of tons.</Annotation>
<Annotation name="units_of_measurement">Thousands of Tons</Annotation>
</Measure>
</Cube>
</Schema>