Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vars dict ahead of 2025 model #35

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

jeancochrane
Copy link
Contributor

This PR updates the ccao::vars_dict object to incorporate all of the features we're currently using in the res and condo models.

Since the CSV diff is a bit hard to read, here's a table of the rows that this PR adds:

var_name_athena var_name_model var_name_publish var_name_pretty var_type var_data_type
prox_nearest_road_highway_dist_ft prox_nearest_road_highway_dist_ft nearest_road_highway_dist_ft Nearest Highway Distance (Feet) prox numeric
prox_nearest_road_arterial_dist_ft prox_nearest_road_arterial_dist_ft nearest_road_arterial_dist_ft Nearest Arterial Road Distance (Feet) prox numeric
prox_nearest_road_collector_dist_ft prox_nearest_road_collector_dist_ft nearest_road_collector_dist_ft Nearest Collector Road Distance (Feet) prox numeric
prox_nearest_road_highway_daily_traffic prox_nearest_road_highway_daily_traffic nearest_road_highway_daily_traffic Average Daily Traffic Count on Nearest Highway prox numeric
prox_nearest_road_arterial_daily_traffic prox_nearest_road_arterial_daily_traffic nearest_road_arterial_daily_traffic Average Daily Traffic Count on Nearest Arterial Road prox numeric
prox_nearest_road_collector_daily_traffic prox_nearest_road_collector_daily_traffic nearest_road_collector_daily_traffic Average Daily Traffic Count on Nearest Collector Road prox numeric
prox_nearest_new_construction_dist_ft prox_nearest_new_construction_dist_ft nearest_new_construction_dist_ft Nearest New Construction (Feet) prox numeric
prox_nearest_stadium_dist_ft prox_nearest_stadium_dist_ft nearest_stadium_dist_ft Nearest Major Stadium (Feet) prox numeric
shp_parcel_centroid_dist_ft_sd shp_parcel_centroid_dist_ft_sd parcel_centroid_dist_ft_sd Standard Deviation Distance From Parcel Centroid to Vertices (Feet) shp numeric
shp_parcel_edge_len_ft_sd shp_parcel_edge_len_ft_sd parcel_edge_len_ft_sd Standard Deviation Parcel Edge Length (Feet) shp numeric
shp_parcel_interior_angle_sd shp_parcel_interior_angle_sd parcel_interior_angle_sd Standard Deviation Parcel Interior Angle (Degrees) shp numeric
shp_parcel_mrr_area_ratio shp_parcel_mrr_area_ratio parcel_mrr_area_ratio Ratio of Parcel Area to Minimum Rotated Bounding Rectangle shp numeric
shp_parcel_mrr_side_ratio shp_parcel_mrr_side_ratio parcel_mrr_side_ratio Ratio of Parcel Minimum Rotated Bounding Rectangle Longest to Shortest Side shp numeric
shp_parcel_num_vertices shp_parcel_num_vertices parcel_num_vertices Number of Parcel Vertices shp numeric

@@ -508,3 +516,9 @@ qu_mlt_cd,card,card,meta_card_num,card_num,Card Number,meta,character,,,
,,char_full_baths,char_full_baths,full_baths,Full Baths,char,numeric,,,
,,strata_1,meta_strata_1,strata_1,Condominium Building Strata 1,meta,character,,,
,,strata_2,meta_strata_2,strata_2,Condominium Building Strata 2,meta,character,,,
,,shp_parcel_centroid_dist_ft_sd,shp_parcel_centroid_dist_ft_sd,parcel_centroid_dist_ft_sd,Standard Deviation Distance From Parcel Centroid to Vertices (Feet),shp,numeric,,,
,,shp_parcel_edge_len_ft_sd,shp_parcel_edge_len_ft_sd,parcel_edge_len_ft_sd,Standard Deviation Parcel Edge Length (Feet),shp,numeric,,,
,,shp_parcel_interior_angle_sd,shp_parcel_interior_angle_sd,parcel_interior_angle_sd,Standard Deviation Parcel Interior Angle (Degrees),shp,numeric,,,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these angles in degrees, or radians?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (969dae7) to head (f18bb49).
Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #35   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          382       365   -17     
=========================================
- Hits           382       365   -17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jeancochrane jeancochrane marked this pull request as ready for review January 9, 2025 21:52
@jeancochrane jeancochrane requested a review from a team as a code owner January 9, 2025 21:52
@jeancochrane jeancochrane requested a review from dfsnow January 9, 2025 21:52
Copy link
Member

@dfsnow dfsnow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this @jeancochrane.

@@ -508,3 +516,9 @@ qu_mlt_cd,card,card,meta_card_num,card_num,Card Number,meta,character,,,
,,char_full_baths,char_full_baths,full_baths,Full Baths,char,numeric,,,
,,strata_1,meta_strata_1,strata_1,Condominium Building Strata 1,meta,character,,,
,,strata_2,meta_strata_2,strata_2,Condominium Building Strata 2,meta,character,,,
,,shp_parcel_centroid_dist_ft_sd,shp_parcel_centroid_dist_ft_sd,parcel_centroid_dist_ft_sd,Standard Deviation Distance From Parcel Centroid to Vertices (Feet),shp,numeric,,,
,,shp_parcel_edge_len_ft_sd,shp_parcel_edge_len_ft_sd,parcel_edge_len_ft_sd,Standard Deviation Parcel Edge Length (Feet),shp,numeric,,,
,,shp_parcel_interior_angle_sd,shp_parcel_interior_angle_sd,parcel_interior_angle_sd,Standard Deviation Parcel Interior Angle (Degrees),shp,numeric,,,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeancochrane jeancochrane merged commit 8b6f53e into master Jan 9, 2025
17 checks passed
@jeancochrane jeancochrane deleted the jeancochrane/update-vars-dict-for-2025-model branch January 9, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants