-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathschema.yml
More file actions
1141 lines (1115 loc) · 45.6 KB
/
schema.yml
File metadata and controls
1141 lines (1115 loc) · 45.6 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
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
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# disable-check-sort-order
sources:
- name: model
tables:
- name: assessment_card
description: '{{ doc("table_assessment_card") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_assessment_card_unique_pin_card_year_run
combination_of_columns:
- meta_pin
- meta_card_num
- meta_year
- run_id
config:
# We add fixed error thresholds here since duplicated data
# exists from before these tests were implemented. If duplicated
# data is added after 12/27/2024, warnings should be errors.
error_if: ">5748"
- name: assessment_pin
description: '{{ doc("table_assessment_pin") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_assessment_pin_unique_pin_year_run
combination_of_columns:
- meta_pin
- meta_year
- run_id
config:
error_if: ">2016"
- name: feature_importance
description: '{{ doc("table_feature_importance") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_feature_importance_unique_year_run_feature
combination_of_columns:
- year
- run_id
- model_predictor_all_name
- name: metadata
description: '{{ doc("table_metadata") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_metadata_unique_year_run
combination_of_columns:
- year
- run_id
- name: comp
description: '{{ doc("table_comp") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_comp_unique_pin_card_run_id
combination_of_columns:
- pin
- card
- run_id
- name: parameter_final
description: '{{ doc("table_parameter_final") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_parameter_final_unique_year_run
combination_of_columns:
- year
- run_id
- name: parameter_range
description: '{{ doc("table_parameter_range") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_parameter_range_unique_year_run_param
combination_of_columns:
- year
- run_id
- parameter_name
- name: parameter_search
description: '{{ doc("table_parameter_search") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_parameter_search_unique_by_keys
combination_of_columns:
- year
- run_id
- iteration
- configuration
- fold_id
config:
error_if: ">400"
- name: performance
description: '{{ doc("table_performance") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_performance_unique_by_keys
combination_of_columns:
- year
- run_id
- stage
- triad_code
- geography_type
- geography_id
- class
- name: performance_quantile
description: '{{ doc("table_performance_quantile") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_performance_quantile_unique_by_keys
combination_of_columns:
- year
- run_id
- triad_code
- stage
- geography_type
- geography_id
- class
- num_quantile
- quantile
- name: pinval_test_training_data
description: '{{ doc("pinval_test_training_data") }}'
- name: shap
description: '{{ doc("table_shap") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_shap_unique_pin_card_year_run
combination_of_columns:
- year
- run_id
- meta_pin
- meta_card_num
config:
error_if: ">524"
- name: test_card
description: '{{ doc("table_test_card") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_test_card_unique_pin_card_year_run_doc
combination_of_columns:
- year
- run_id
- meta_pin
- meta_card_num
- meta_sale_document_num
config:
error_if: ">102422"
- name: timing
description: '{{ doc("table_timing") }}'
tags:
- load_auto
data_tests:
- unique_combination_of_columns:
name: model_timing_unique_year_run
combination_of_columns:
- year
- run_id
- name: training_data
description: '{{ doc("table_training_data") }}'
tags:
- load_manual
data_tests:
- unique_combination_of_columns:
name: model_training_data_unique_run_id_pin_card_num
combination_of_columns:
- run_id
- meta_pin
- meta_card_num
config:
error_if: ">2"
models:
- name: model.final_model
description: '{{ doc("table_final_model") }}'
columns:
- name: year
description: '{{ doc("shared_column_year") }}'
- name: run_id
description: '{{ doc("shared_column_run_id") }}'
- name: triad_name
description: '{{ doc("shared_column_triad_name") }}'
- name: type
description: Model type (residential or condo)
- name: is_final
description: Was this the final model of the year?
- name: date_chosen
description: Date on which the model was selected as the final model
- name: date_emailed
description: Date on which the yearly "model email" was sent
- name: date_finalized
description: Date on which export artifacts were shared with Valuations
- name: reason_chosen
description: Reason why the model run was chosen as the final version
- name: township_code_coverage
description: |
Townships for which the values from this model were used.
Some years may have multiple models which cover different townships,
as a later model may contain a change or improvement from the
initially used model.
- name: reference_run_id
description: |
An optional run_id that this model was based on.
Typically the final model is the same as the reference run, but with
all feature flags enabled.
- name: email_title
description: |
Title of the email sent to leadership and Valuations announcing
the final model for the year.
- name: note
description: |
Any notes or caveats associated with the model run
- name: model.vw_pin_shared_input
description: '{{ doc("view_vw_pin_shared_input") }}'
config:
tags:
- daily
columns:
- &acs5_count_sex_total
name: acs5_count_sex_total
description: '{{ doc("column_count_sex_total") }}'
- &acs5_median_age_total
name: acs5_median_age_total
description: '{{ doc("column_median_age_total") }}'
- &acs5_median_household_owner_occupied_value
name: acs5_median_household_owner_occupied_value
description: '{{ doc("column_median_household_owner_occupied_value") }}'
- &acs5_median_household_renter_occupied_gross_rent
name: acs5_median_household_renter_occupied_gross_rent
description: '{{ doc("column_median_household_renter_occupied_gross_rent") }}'
- &acs5_median_household_total_occupied_year_built
name: acs5_median_household_total_occupied_year_built
description: '{{ doc("column_median_household_total_occupied_year_built") }}'
- &acs5_median_income_household_past_year
name: acs5_median_income_household_past_year
description: '{{ doc("column_median_income_household_past_year") }}'
- &acs5_median_income_per_capita_past_year
name: acs5_median_income_per_capita_past_year
description: '{{ doc("column_median_income_per_capita_past_year") }}'
- &acs5_percent_age_children
name: acs5_percent_age_children
description: '{{ doc("column_percent_age_children") }}'
- &acs5_percent_age_senior
name: acs5_percent_age_senior
description: '{{ doc("column_percent_age_senior") }}'
- &acs5_percent_education_bachelor
name: acs5_percent_education_bachelor
description: '{{ doc("column_percent_education_bachelor") }}'
- &acs5_percent_education_graduate
name: acs5_percent_education_graduate
description: '{{ doc("column_percent_education_graduate") }}'
- &acs5_percent_education_high_school
name: acs5_percent_education_high_school
description: '{{ doc("column_percent_education_high_school") }}'
- &acs5_percent_employment_unemployed
name: acs5_percent_employment_unemployed
description: '{{ doc("column_percent_employment_unemployed") }}'
- &acs5_percent_household_family_married
name: acs5_percent_household_family_married
description: '{{ doc("column_percent_household_family_married") }}'
- &acs5_percent_household_nonfamily_alone
name: acs5_percent_household_nonfamily_alone
description: '{{ doc("column_percent_household_nonfamily_alone") }}'
- &acs5_percent_household_owner_occupied
name: acs5_percent_household_owner_occupied
description: '{{ doc("column_percent_household_owner_occupied") }}'
- &acs5_percent_household_total_occupied_w_sel_cond
name: acs5_percent_household_total_occupied_w_sel_cond
description: '{{ doc("column_percent_household_total_occupied_w_sel_cond") }}'
- &acs5_percent_income_below_poverty_level
name: acs5_percent_income_below_poverty_level
description: '{{ doc("column_percent_income_below_poverty_level") }}'
- &acs5_percent_income_household_received_snap_past_year
name: acs5_percent_income_household_received_snap_past_year
description: '{{ doc("column_percent_income_household_received_snap_past_year") }}'
- &acs5_percent_mobility_moved_from_other_state
name: acs5_percent_mobility_moved_from_other_state
description: '{{ doc("column_percent_mobility_moved_from_other_state") }}'
- &acs5_percent_mobility_moved_in_county
name: acs5_percent_mobility_moved_in_county
description: '{{ doc("column_percent_mobility_moved_in_county") }}'
- &acs5_percent_mobility_no_move
name: acs5_percent_mobility_no_move
description: '{{ doc("column_percent_mobility_no_move") }}'
- &ccao_is_active_exe_homeowner
name: ccao_is_active_exe_homeowner
description: '{{ doc("shared_column_is_active_exe_homeowner") }}'
- &ccao_is_corner_lot
name: ccao_is_corner_lot
description: '{{ doc("shared_column_is_corner_lot") }}'
- &ccao_n_years_exe_homeowner
name: ccao_n_years_exe_homeowner
description: '{{ doc("shared_column_n_years_exe_homeowner") }}'
- &loc_access_cmap_walk_nta_score
name: loc_access_cmap_walk_nta_score
description: '{{ doc("column_access_cmap_walk_nta_score") }}'
- &loc_access_cmap_walk_total_score
name: loc_access_cmap_walk_total_score
description: '{{ doc("column_access_cmap_walk_total_score") }}'
- &loc_census_acs5_data_year
name: loc_census_acs5_data_year
description: '{{ doc("shared_column_data_year") }}'
- &loc_census_acs5_puma_geoid
name: loc_census_acs5_puma_geoid
description: '{{ doc("column_census_puma_geoid") }}'
- &loc_census_acs5_tract_geoid
name: loc_census_acs5_tract_geoid
description: '{{ doc("column_census_tract_geoid") }}'
- &loc_census_data_year
name: loc_census_data_year
description: '{{ doc("shared_column_data_year") }}'
- &loc_census_puma_geoid
name: loc_census_puma_geoid
description: '{{ doc("column_census_puma_geoid") }}'
- &loc_census_tract_geoid
name: loc_census_tract_geoid
description: '{{ doc("column_census_tract_geoid") }}'
- &loc_chicago_community_area_name
name: loc_chicago_community_area_name
description: '{{ doc("column_chicago_community_area_name") }}'
- &loc_env_airport_noise_dnl
name: loc_env_airport_noise_dnl
description: '{{ doc("column_env_airport_noise_dnl") }}'
- &loc_env_flood_fema_sfha
name: loc_env_flood_fema_sfha
description: '{{ doc("column_env_flood_fema_sfha") }}'
- &loc_env_flood_fs_factor
name: loc_env_flood_fs_factor
description: '{{ doc("column_env_flood_fs_factor") }}'
- &loc_env_flood_fs_risk_direction
name: loc_env_flood_fs_risk_direction
description: '{{ doc("column_env_flood_fs_risk_direction") }}'
- &loc_env_ohare_noise_contour_no_buffer_bool
name: loc_env_ohare_noise_contour_no_buffer_bool
description: '{{ doc("column_env_ohare_noise_contour_no_buffer_bool") }}'
- &loc_latitude
name: loc_latitude
description: '{{ doc("shared_column_latitude") }}'
- &loc_longitude
name: loc_longitude
description: '{{ doc("shared_column_longitude") }}'
- &loc_misc_subdivision_id
name: loc_misc_subdivision_id
description: '{{ doc("column_misc_subdivision_id") }}'
- &loc_property_address
name: loc_property_address
description: '{{ doc("shared_column_prop_address_full") }}'
- &loc_property_city
name: loc_property_city
description: '{{ doc("shared_column_prop_address_city_name") }}'
- &loc_property_state
name: loc_property_state
description: '{{ doc("shared_column_prop_address_state") }}'
- &loc_property_zip
name: loc_property_zip
description: '{{ doc("shared_column_prop_address_zipcode_1") }}'
- &loc_school_elementary_district_geoid
name: loc_school_elementary_district_geoid
description: '{{ doc("column_school_elementary_district_geoid") }}'
- &loc_school_secondary_district_geoid
name: loc_school_secondary_district_geoid
description: '{{ doc("column_school_secondary_district_geoid") }}'
- &loc_school_unified_district_geoid
name: loc_school_unified_district_geoid
description: '{{ doc("column_school_unified_district_geoid") }}'
- &loc_tax_municipality_name
name: loc_tax_municipality_name
description: '{{ doc("column_tax_district_name") }}'
- &loc_tax_special_service_area_num
name: loc_tax_special_service_area_num
description: '{{ doc("column_tax_district_num") }}'
- &loc_tax_tif_district_num
name: loc_tax_tif_district_num
description: '{{ doc("column_tax_district_num") }}'
- &loc_ward_num
name: loc_ward_num
description: '{{ doc("column_ward_num") }}'
- &loc_x_3435
name: loc_x_3435
description: '{{ doc("shared_column_x_3435") }}'
- &loc_y_3435
name: loc_y_3435
description: '{{ doc("shared_column_y_3435") }}'
- &meta_1yr_pri_board_bldg
name: meta_1yr_pri_board_bldg
description: '{{ doc("shared_column_board_bldg") }}'
- &meta_1yr_pri_board_land
name: meta_1yr_pri_board_land
description: '{{ doc("shared_column_board_land") }}'
- &meta_1yr_pri_board_tot
name: meta_1yr_pri_board_tot
description: '{{ doc("shared_column_board_tot") }}'
- &meta_2yr_pri_board_bldg
name: meta_2yr_pri_board_bldg
description: '{{ doc("shared_column_board_bldg") }}'
- &meta_2yr_pri_board_land
name: meta_2yr_pri_board_land
description: '{{ doc("shared_column_board_land") }}'
- &meta_2yr_pri_board_tot
name: meta_2yr_pri_board_tot
description: '{{ doc("shared_column_board_tot") }}'
- &meta_board_bldg
name: meta_board_bldg
description: '{{ doc("shared_column_board_bldg") }}'
- &meta_board_land
name: meta_board_land
description: '{{ doc("shared_column_board_land") }}'
- &meta_board_tot
name: meta_board_tot
description: '{{ doc("shared_column_board_tot") }}'
- &meta_certified_bldg
name: meta_certified_bldg
description: '{{ doc("shared_column_certified_bldg") }}'
- &meta_certified_land
name: meta_certified_land
description: '{{ doc("shared_column_certified_land") }}'
- &meta_certified_tot
name: meta_certified_tot
description: '{{ doc("shared_column_certified_tot") }}'
- &meta_class
name: meta_class
description: '{{ doc("shared_column_class") }}'
- &meta_mailed_bldg
name: meta_mailed_bldg
description: '{{ doc("shared_column_mailed_bldg") }}'
- &meta_mailed_land
name: meta_mailed_land
description: '{{ doc("shared_column_mailed_land") }}'
- &meta_mailed_tot
name: meta_mailed_tot
description: '{{ doc("shared_column_mailed_tot") }}'
- &meta_nbhd_code
name: meta_nbhd_code
description: '{{ doc("shared_column_nbhd_code") }}'
- &meta_pin
name: meta_pin
description: '{{ doc("shared_column_pin") }}'
- &meta_pin10
name: meta_pin10
description: '{{ doc("shared_column_pin10") }}'
- &meta_tax_code
name: meta_tax_code
description: '{{ doc("shared_column_tax_code") }}'
- &meta_township_code
name: meta_township_code
description: '{{ doc("shared_column_township_code") }}'
- &meta_township_name
name: meta_township_name
description: '{{ doc("shared_column_township_name") }}'
- &meta_triad_code
name: meta_triad_code
description: '{{ doc("shared_column_triad_code") }}'
- &meta_triad_name
name: meta_triad_name
description: '{{ doc("shared_column_triad_name") }}'
- &meta_year
name: meta_year
description: '{{ doc("shared_column_year") }}'
- &nearest_neighbor_1_dist_ft
name: nearest_neighbor_1_dist_ft
description: '{{ doc("column_nearest_neighbor_dist_ft") }}'
- &nearest_neighbor_1_pin10
name: nearest_neighbor_1_pin10
description: '{{ doc("column_nearest_neighbor_pin10") }}'
- &nearest_neighbor_2_dist_ft
name: nearest_neighbor_2_dist_ft
description: '{{ doc("column_nearest_neighbor_dist_ft") }}'
- &nearest_neighbor_2_pin10
name: nearest_neighbor_2_pin10
description: '{{ doc("column_nearest_neighbor_pin10") }}'
- &nearest_neighbor_3_dist_ft
name: nearest_neighbor_3_dist_ft
description: '{{ doc("column_nearest_neighbor_dist_ft") }}'
- &nearest_neighbor_3_pin10
name: nearest_neighbor_3_pin10
description: '{{ doc("column_nearest_neighbor_pin10") }}'
- &other_ihs_avg_year_index
name: other_ihs_avg_year_index
description: '{{ doc("shared_column_ihs_avg_year_index") }}'
- &other_ari
name: other_ari
description: '{{ doc("shared_column_ari") }}'
- &other_dci
name: other_dci
description: '{{ doc("shared_column_dci") }}'
- &other_school_district_elementary_avg_rating
name: other_school_district_elementary_avg_rating
description: '{{ doc("shared_column_school_district_elementary_avg_rating") }}'
- &other_school_district_secondary_avg_rating
name: other_school_district_secondary_avg_rating
description: '{{ doc("shared_column_school_district_secondary_avg_rating") }}'
- &other_tax_bill_amount_total
name: other_tax_bill_amount_total
description: '{{ doc("shared_column_tax_bill_amount_total") }}'
- &other_tax_bill_rate
name: other_tax_bill_rate
description: '{{ doc("shared_column_tax_bill_rate") }}'
- &prox_airport_dnl_total
name: prox_airport_dnl_total
description: '{{ doc("column_airport_dnl_total") }}'
- &prox_avg_school_rating_in_half_mile
name: prox_avg_school_rating_in_half_mile
description: '{{ doc("column_avg_school_rating_in_half_mile") }}'
- &prox_lake_michigan_dist_ft
name: prox_lake_michigan_dist_ft
description: '{{ doc("column_lake_michigan_dist_ft") }}'
- &prox_nearest_bike_trail_dist_ft
name: prox_nearest_bike_trail_dist_ft
description: '{{ doc("column_nearest_bike_trail_dist_ft") }}'
- &prox_nearest_cemetery_dist_ft
name: prox_nearest_cemetery_dist_ft
description: '{{ doc("column_nearest_cemetery_dist_ft") }}'
- &prox_nearest_cta_route_dist_ft
name: prox_nearest_cta_route_dist_ft
description: '{{ doc("column_nearest_cta_route_dist_ft") }}'
- &prox_nearest_cta_stop_dist_ft
name: prox_nearest_cta_stop_dist_ft
description: '{{ doc("column_nearest_cta_stop_dist_ft") }}'
- &prox_nearest_golf_course_dist_ft
name: prox_nearest_golf_course_dist_ft
description: '{{ doc("column_nearest_golf_course_dist_ft") }}'
- &prox_nearest_hospital_dist_ft
name: prox_nearest_hospital_dist_ft
description: '{{ doc("column_nearest_hospital_dist_ft") }}'
- &prox_nearest_major_road_dist_ft
name: prox_nearest_major_road_dist_ft
description: '{{ doc("column_nearest_major_road_dist_ft") }}'
- &prox_nearest_metra_route_dist_ft
name: prox_nearest_metra_route_dist_ft
description: '{{ doc("column_nearest_metra_route_dist_ft") }}'
- &prox_nearest_metra_stop_dist_ft
name: prox_nearest_metra_stop_dist_ft
description: '{{ doc("column_nearest_metra_stop_dist_ft") }}'
- &prox_nearest_new_construction_dist_ft
name: prox_nearest_new_construction_dist_ft
description: '{{ doc("column_nearest_new_construction_dist_ft") }}'
- &prox_nearest_park_dist_ft
name: prox_nearest_park_dist_ft
description: '{{ doc("column_nearest_park_dist_ft") }}'
- &prox_nearest_railroad_dist_ft
name: prox_nearest_railroad_dist_ft
description: '{{ doc("column_nearest_railroad_dist_ft") }}'
- &prox_nearest_road_arterial_daily_traffic
name: prox_nearest_road_arterial_daily_traffic
description: '{{ doc("column_nearest_road_arterial_daily_traffic") }}'
- &prox_nearest_road_arterial_dist_ft
name: prox_nearest_road_arterial_dist_ft
description: '{{ doc("column_nearest_road_arterial_dist_ft") }}'
- &prox_nearest_road_arterial_lanes
name: prox_nearest_road_arterial_lanes
description: '{{ doc("column_nearest_road_arterial_lanes") }}'
- &prox_nearest_road_arterial_speed_limit
name: prox_nearest_road_arterial_speed_limit
description: '{{ doc("column_nearest_road_arterial_speed_limit") }}'
- &prox_nearest_road_arterial_surface_type
name: prox_nearest_road_arterial_surface_type
description: '{{ doc("column_nearest_road_arterial_surface_type") }}'
- &prox_nearest_road_collector_daily_traffic
name: prox_nearest_road_collector_daily_traffic
description: '{{ doc("column_nearest_road_collector_daily_traffic") }}'
- &prox_nearest_road_collector_dist_ft
name: prox_nearest_road_collector_dist_ft
description: '{{ doc("column_nearest_road_collector_dist_ft") }}'
- &prox_nearest_road_collector_lanes
name: prox_nearest_road_collector_lanes
description: '{{ doc("column_nearest_road_collector_lanes") }}'
- &prox_nearest_road_collector_speed_limit
name: prox_nearest_road_collector_speed_limit
description: '{{ doc("column_nearest_road_collector_speed_limit") }}'
- &prox_nearest_road_collector_surface_type
name: prox_nearest_road_collector_surface_type
description: '{{ doc("column_nearest_road_collector_surface_type") }}'
- &prox_nearest_road_highway_daily_traffic
name: prox_nearest_road_highway_daily_traffic
description: '{{ doc("column_nearest_road_highway_daily_traffic") }}'
- &prox_nearest_road_highway_dist_ft
name: prox_nearest_road_highway_dist_ft
description: '{{ doc("column_nearest_road_highway_dist_ft") }}'
- &prox_nearest_road_highway_lanes
name: prox_nearest_road_highway_lanes
description: '{{ doc("column_nearest_road_highway_lanes") }}'
- &prox_nearest_road_highway_speed_limit
name: prox_nearest_road_highway_speed_limit
description: '{{ doc("column_nearest_road_highway_speed_limit") }}'
- &prox_nearest_road_highway_surface_type
name: prox_nearest_road_highway_surface_type
description: '{{ doc("column_nearest_road_highway_surface_type") }}'
- &prox_nearest_secondary_road_dist_ft
name: prox_nearest_secondary_road_dist_ft
description: '{{ doc("column_nearest_secondary_road_dist_ft") }}'
- &prox_nearest_stadium_dist_ft
name: prox_nearest_stadium_dist_ft
description: '{{ doc("column_nearest_stadium_dist_ft") }}'
- &prox_nearest_university_dist_ft
name: prox_nearest_university_dist_ft
description: '{{ doc("column_nearest_university_dist_ft") }}'
- &prox_nearest_vacant_land_dist_ft
name: prox_nearest_vacant_land_dist_ft
description: '{{ doc("column_nearest_vacant_land_dist_ft") }}'
- &prox_nearest_water_dist_ft
name: prox_nearest_water_dist_ft
description: '{{ doc("column_nearest_water_dist_ft") }}'
- &prox_num_bus_stop_in_half_mile
name: prox_num_bus_stop_in_half_mile
description: '{{ doc("column_num_bus_stop_in_half_mile") }}'
- &prox_num_foreclosure_per_1000_pin_past_5_years
name: prox_num_foreclosure_per_1000_pin_past_5_years
description: '{{ doc("column_num_foreclosure_per_1000_pin_past_5_years") }}'
- &prox_num_pin_in_half_mile
name: prox_num_pin_in_half_mile
description: '{{ doc("column_num_pin_in_half_mile") }}'
- &prox_num_school_in_half_mile
name: prox_num_school_in_half_mile
description: '{{ doc("column_num_school_in_half_mile") }}'
- &prox_num_school_with_rating_in_half_mile
name: prox_num_school_with_rating_in_half_mile
description: '{{ doc("column_num_school_with_rating_in_half_mile") }}'
- &shp_parcel_centroid_dist_ft_sd
name: shp_parcel_centroid_dist_ft_sd
description: '{{ doc("column_parcel_centroid_dist_ft_sd") }}'
- &shp_parcel_edge_len_ft_sd
name: shp_parcel_edge_len_ft_sd
description: '{{ doc("column_parcel_edge_len_ft_sd") }}'
- &shp_parcel_interior_angle_sd
name: shp_parcel_interior_angle_sd
description: '{{ doc("column_parcel_interior_angle_sd") }}'
- &shp_parcel_mrr_area_ratio
name: shp_parcel_mrr_area_ratio
description: '{{ doc("column_parcel_mrr_area_ratio") }}'
- &shp_parcel_mrr_side_ratio
name: shp_parcel_mrr_side_ratio
description: '{{ doc("column_parcel_mrr_side_ratio") }}'
- &shp_parcel_num_vertices
name: shp_parcel_num_vertices
description: '{{ doc("column_parcel_num_vertices") }}'
data_tests:
- unique_combination_of_columns:
name: model_vw_pin_shared_input_unique_pin_year
combination_of_columns:
- meta_pin
- meta_year
- name: model.vw_card_res_input
description: '{{ doc("view_vw_card_res_input") }}'
config:
tags:
- daily
- type_res
columns:
# Columns inherited from vw_pin_shared_input
- *acs5_count_sex_total
- *acs5_median_age_total
- *acs5_median_household_owner_occupied_value
- *acs5_median_household_renter_occupied_gross_rent
- *acs5_median_household_total_occupied_year_built
- *acs5_median_income_household_past_year
- *acs5_median_income_per_capita_past_year
- *acs5_percent_age_children
- *acs5_percent_age_senior
- *acs5_percent_education_bachelor
- *acs5_percent_education_graduate
- *acs5_percent_education_high_school
- *acs5_percent_employment_unemployed
- *acs5_percent_household_family_married
- *acs5_percent_household_nonfamily_alone
- *acs5_percent_household_owner_occupied
- *acs5_percent_household_total_occupied_w_sel_cond
- *acs5_percent_income_below_poverty_level
- *acs5_percent_income_household_received_snap_past_year
- *acs5_percent_mobility_moved_from_other_state
- *acs5_percent_mobility_moved_in_county
- *acs5_percent_mobility_no_move
- *ccao_is_active_exe_homeowner
- *ccao_is_corner_lot
- *ccao_n_years_exe_homeowner
- *loc_access_cmap_walk_nta_score
- *loc_access_cmap_walk_total_score
- *loc_census_acs5_data_year
- *loc_census_acs5_puma_geoid
- *loc_census_acs5_tract_geoid
- *loc_census_data_year
- *loc_census_puma_geoid
- *loc_census_tract_geoid
- *loc_chicago_community_area_name
- *loc_env_airport_noise_dnl
- *loc_env_flood_fema_sfha
- *loc_env_flood_fs_factor
- *loc_env_flood_fs_risk_direction
- *loc_env_ohare_noise_contour_no_buffer_bool
- *loc_latitude
- *loc_longitude
- *loc_misc_subdivision_id
- *loc_property_address
- *loc_property_city
- *loc_property_state
- *loc_property_zip
- *loc_school_elementary_district_geoid
- *loc_school_secondary_district_geoid
- *loc_school_unified_district_geoid
- *loc_tax_municipality_name
- *loc_tax_special_service_area_num
- *loc_tax_tif_district_num
- *loc_ward_num
- *loc_x_3435
- *loc_y_3435
- *meta_1yr_pri_board_bldg
- *meta_1yr_pri_board_land
- *meta_1yr_pri_board_tot
- *meta_2yr_pri_board_bldg
- *meta_2yr_pri_board_land
- *meta_2yr_pri_board_tot
- *meta_board_bldg
- *meta_board_land
- *meta_board_tot
- *meta_certified_bldg
- *meta_certified_land
- *meta_certified_tot
- *meta_class
- *meta_mailed_bldg
- *meta_mailed_land
- *meta_mailed_tot
- *meta_nbhd_code
- *meta_pin
- *meta_pin10
- *meta_tax_code
- *meta_township_code
- *meta_township_name
- *meta_triad_code
- *meta_triad_name
- *meta_year
- *other_ihs_avg_year_index
- *other_dci
- *other_ari
- *other_school_district_elementary_avg_rating
- *other_school_district_secondary_avg_rating
- *other_tax_bill_amount_total
- *other_tax_bill_rate
- *prox_airport_dnl_total
- *prox_avg_school_rating_in_half_mile
- *prox_lake_michigan_dist_ft
- *prox_nearest_bike_trail_dist_ft
- *prox_nearest_cemetery_dist_ft
- *prox_nearest_cta_route_dist_ft
- *prox_nearest_cta_stop_dist_ft
- *prox_nearest_golf_course_dist_ft
- *prox_nearest_hospital_dist_ft
- *prox_nearest_major_road_dist_ft
- *prox_nearest_metra_route_dist_ft
- *prox_nearest_metra_stop_dist_ft
- *prox_nearest_new_construction_dist_ft
- *prox_nearest_park_dist_ft
- *prox_nearest_railroad_dist_ft
- *prox_nearest_road_arterial_daily_traffic
- *prox_nearest_road_arterial_dist_ft
- *prox_nearest_road_arterial_lanes
- *prox_nearest_road_arterial_speed_limit
- *prox_nearest_road_arterial_surface_type
- *prox_nearest_road_collector_daily_traffic
- *prox_nearest_road_collector_dist_ft
- *prox_nearest_road_collector_lanes
- *prox_nearest_road_collector_speed_limit
- *prox_nearest_road_collector_surface_type
- *prox_nearest_road_highway_daily_traffic
- *prox_nearest_road_highway_dist_ft
- *prox_nearest_road_highway_lanes
- *prox_nearest_road_highway_speed_limit
- *prox_nearest_road_highway_surface_type
- *prox_nearest_secondary_road_dist_ft
- *prox_nearest_stadium_dist_ft
- *prox_nearest_university_dist_ft
- *prox_nearest_vacant_land_dist_ft
- *prox_nearest_water_dist_ft
- *prox_num_bus_stop_in_half_mile
- *prox_num_foreclosure_per_1000_pin_past_5_years
- *prox_num_pin_in_half_mile
- *prox_num_school_in_half_mile
- *prox_num_school_with_rating_in_half_mile
- *shp_parcel_centroid_dist_ft_sd
- *shp_parcel_edge_len_ft_sd
- *shp_parcel_interior_angle_sd
- *shp_parcel_mrr_area_ratio
- *shp_parcel_mrr_side_ratio
- *shp_parcel_num_vertices
# Columns shared between vw_card_res_input and vw_pin_condo_input
- &char_land_sf_95_percentile
name: char_land_sf_95_percentile
description: |
95th percentile of land square footage,
by year and township
- &ind_land_gte_95_percentile
name: ind_land_gte_95_percentile
description: |
Indicator for a PIN with land square footage larger
than 95% of other properties for this year and township
- &ind_pin_is_multiland
name: ind_pin_is_multiland
description: '{{ doc("shared_column_pin_is_multiland") }}'
- &ind_pin_is_prorated
name: ind_pin_is_prorated
description: |
Indicator for whether or not a PIN is prorated.
See `meta_tieback_proration_rate` for more information
- &meta_card_num
name: meta_card_num
description: '{{ doc("shared_column_card") }}'
- &meta_cdu
name: meta_cdu
description: '{{ doc("shared_column_cdu") }}'
- &meta_modeling_group
name: meta_modeling_group
description: '{{ doc("shared_column_modeling_group") }}'
- &meta_pin_num_landlines
name: meta_pin_num_landlines
description: '{{ doc("shared_column_pin_num_landlines") }}'
- &meta_tieback_key_pin
name: meta_tieback_key_pin
description: '{{ doc("shared_column_tieback_key_pin") }}'
- &meta_tieback_proration_rate
name: meta_tieback_proration_rate
description: '{{ doc("shared_column_tieback_proration_rate") }}'
# Columns specific to vw_card_res_input
- name: char_air
description: '{{ doc("shared_column_char_air") }}'
- name: char_attic_fnsh
description: '{{ doc("shared_column_char_attic_fnsh") }}'
- name: char_attic_type
description: '{{ doc("shared_column_char_attic_type") }}'
- name: char_bldg_sf_95_percentile
description: |
95th percentile of building square footage,
by year and township
- name: char_bsmt
description: '{{ doc("shared_column_char_bsmt") }}'
- name: char_bsmt_fin
description: '{{ doc("shared_column_char_bsmt_fin") }}'
- name: char_ext_wall
description: '{{ doc("shared_column_char_ext_wall") }}'
- name: char_apts
description: '{{ doc("shared_column_char_apts") }}'
- name: char_beds
description: '{{ doc("shared_column_char_beds") }}'
- name: char_bldg_sf
description: '{{ doc("shared_column_char_bldg_sf") }}'
- name: char_class
description: '{{ doc("shared_column_char_class") }}'
- name: char_cnst_qlty
description: '{{ doc("shared_column_char_cnst_qlty") }}'
- name: char_fbath
description: '{{ doc("shared_column_char_fbath") }}'
- name: char_frpl
description: '{{ doc("shared_column_char_frpl") }}'
- name: char_gar1_area
description: '{{ doc("shared_column_char_gar_area") }}'
- name: char_gar1_att
description: '{{ doc("shared_column_char_gar_att") }}'
- name: char_gar1_cnst
description: '{{ doc("shared_column_char_gar_cnst") }}'
- name: char_gar1_size
description: '{{ doc("shared_column_char_gar_size") }}'
- name: char_heat
description: '{{ doc("shared_column_char_heat") }}'
- name: char_hbath
description: '{{ doc("shared_column_char_hbath") }}'
- name: char_land_sf
description: '{{ doc("shared_column_char_land_sf") }}'
- name: char_ncu
description: '{{ doc("shared_column_char_ncu") }}'
- name: char_porch
description: '{{ doc("shared_column_char_porch") }}'
- name: char_recent_renovation
description: '{{ doc("shared_column_char_recent_renovation") }}'
- name: char_roof_cnst
description: '{{ doc("shared_column_char_roof_cnst") }}'
- name: char_rooms
description: '{{ doc("shared_column_char_rooms") }}'
- name: char_tp_dsgn
description: '{{ doc("shared_column_char_tp_dsgn") }}'
- name: char_tp_plan
description: '{{ doc("shared_column_char_tp_plan") }}'
- name: char_type_resd
description: '{{ doc("shared_column_char_type_resd") }}'
- name: char_use
description: '{{ doc("shared_column_char_use") }}'
- name: char_yrblt
description: '{{ doc("shared_column_char_yrblt") }}'
- name: ind_bldg_gte_95_percentile
description: |
Indicator for a PIN with building square footage larger
than 95% of other properties for this year and township
- name: ind_land_bldg_ratio_gte_10
description: |
Indicator for a PIN with a ratio of (land sqft / bldg sqft)
of greater than or equal to 10.
This is intended to identify small houses on very large lots
- name: ind_pin_is_multicard
description: '{{ doc("shared_column_pin_is_multicard") }}'
- name: meta_pin_num_cards
description: '{{ doc("shared_column_pin_num_cards") }}'
data_tests:
- unique_combination_of_columns:
name: model_vw_card_res_input_unique_pin_card_year
combination_of_columns:
- meta_pin
- meta_year
- meta_card_num
- name: model.vw_pin_condo_input
description: '{{ doc("view_vw_pin_condo_input") }}'
config:
tags:
- daily
- type_condo
columns:
# Columns inherited from vw_pin_shared_input
- *acs5_count_sex_total
- *acs5_median_age_total
- *acs5_median_household_owner_occupied_value
- *acs5_median_household_renter_occupied_gross_rent
- *acs5_median_household_total_occupied_year_built
- *acs5_median_income_household_past_year
- *acs5_median_income_per_capita_past_year
- *acs5_percent_age_children
- *acs5_percent_age_senior
- *acs5_percent_education_bachelor
- *acs5_percent_education_graduate
- *acs5_percent_education_high_school
- *acs5_percent_employment_unemployed
- *acs5_percent_household_family_married
- *acs5_percent_household_nonfamily_alone
- *acs5_percent_household_owner_occupied
- *acs5_percent_household_total_occupied_w_sel_cond
- *acs5_percent_income_below_poverty_level
- *acs5_percent_income_household_received_snap_past_year
- *acs5_percent_mobility_moved_from_other_state
- *acs5_percent_mobility_moved_in_county
- *acs5_percent_mobility_no_move
- *ccao_is_active_exe_homeowner
- *ccao_is_corner_lot
- *ccao_n_years_exe_homeowner
- *loc_access_cmap_walk_nta_score
- *loc_access_cmap_walk_total_score
- *loc_census_acs5_data_year
- *loc_census_acs5_puma_geoid
- *loc_census_acs5_tract_geoid
- *loc_census_data_year
- *loc_census_puma_geoid
- *loc_census_tract_geoid
- *loc_chicago_community_area_name
- *loc_env_airport_noise_dnl
- *loc_env_flood_fema_sfha
- *loc_env_flood_fs_factor
- *loc_env_flood_fs_risk_direction
- *loc_env_ohare_noise_contour_no_buffer_bool
- *loc_latitude
- *loc_longitude
- *loc_misc_subdivision_id
- *loc_property_address
- *loc_property_city
- *loc_property_state
- *loc_property_zip
- *loc_school_elementary_district_geoid
- *loc_school_secondary_district_geoid