Skip to content

Commit

Permalink
pulling in vacant_job_spaces to buildings_df
Browse files Browse the repository at this point in the history
  • Loading branch information
akselx committed Apr 20, 2024
1 parent 1123784 commit 4610f2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion baus/summaries/geographic_summaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ def geographic_summary(parcels, households, jobs, buildings, year, superdistrict

buildings_df = orca.merge_tables('buildings', [parcels, buildings],
columns=['juris', 'superdistrict', 'county', 'subregion', 'building_type',
'residential_units', 'deed_restricted_units', 'non_residential_sqft','job_spaces'])
'residential_units', 'deed_restricted_units', 'non_residential_sqft','job_spaces',
'vacant_job_spaces'])

jobs_df['is_transit_hub'] = (jobs_df.ec5_cat=="Transit_Hub").map({True:'job_in_transit_hub',False:'job_not_in_transit_hub'})

Expand Down

0 comments on commit 4610f2c

Please sign in to comment.