def dependencies(self):
     return [
         attribute_label("job", self.job_is_in_employment_sector_group),
         attribute_label("job", "is_home_based_job"),
         attribute_label("job", "grid_id"),
         my_attribute_label("grid_id")
     ]
 def dependencies(self):
     return [
         attribute_label(
             "gridcell",
             self.gc_households_without_children_within_walking_distance),
         attribute_label("household", self.hh_is_without_children)
     ]
 def dependencies(self):
     return [
         attribute_label(
             "gridcell",
             self.gc_percent_minority_households_within_walking_distance),
         attribute_label("household", self.hh_is_minority)
     ]
コード例 #4
0
 def dependencies(self):
     return [
         attribute_label("plan_type_group", "group_id"),
         attribute_label("plan_type_group", "name"),
         attribute_label("plan_type", "plan_type_id"),
         my_attribute_label("plan_type_id")
     ]
コード例 #5
0
 def dependencies(self):
     return [
         attribute_label(
             "gridcell",
             self.gc_is_in_development_type_group_high_density_residential),
         attribute_label("household", self.hh_is_young)
     ]
 def dependencies(self):
     return [
         attribute_label("gridcell", "region_id"),
         attribute_label("gridcell",
                         "percent_open_space_within_walking_distance"),
         my_attribute_label("region_id")
     ]
 def dependencies(self):
     return [
         attribute_label(
             "gridcell", self.
             gc_percent_high_income_households_within_walking_distance),
         attribute_label("household", self.hh_is_low_income)
     ]
コード例 #8
0
 def dependencies(self):
     return [
         attribute_label("development_group", "group_id"),
         attribute_label("development_group", self.gr_name),
         my_attribute_label(self.development_type_id),
         attribute_label("development_type", "development_type_id"),
     ]
コード例 #9
0
 def dependencies(self):
     return [
         my_attribute_label(self.number_of_buildings),
         attribute_label("building", self.building_age),
         attribute_label("building", self.is_building_type),
         attribute_label("building", "grid_id")
     ]
コード例 #10
0
 def dependencies(self):
     return [
         attribute_label("development_group", "group_id"),
         attribute_label("development_group", self.gr_name),
         my_attribute_label(self.development_type_id),
         attribute_label("development_type", "development_type_id")
     ]
コード例 #11
0
 def dependencies(self):
     return [
         attribute_label(
             "gridcell",
             self.gc_ln_residential_units_within_walking_distance),
         attribute_label("household", self.hh_persons)
     ]
 def dependencies(self):
     return [
         my_attribute_label("household_id"),
         attribute_label("person", "work_nonhome_based"),
         "psrc.person.work_place_zone_id",
         attribute_label("person", "household_id"),
     ]
コード例 #13
0
 def dependencies(self):
     return [
         attribute_label("job", self.job_is_in_employment_sector_group),
         attribute_label("job", "job_id"),
         attribute_label("job", "grid_id"),
         my_attribute_label("grid_id"),
     ]
コード例 #14
0
 def dependencies(self):
     return [
         attribute_label("gridcell", "number_of_jobs"),
         attribute_label("gridcell", "acres_of_land"),
         attribute_label("gridcell", "faz_id"),
         my_attribute_label("faz_id")
     ]
コード例 #15
0
 def dependencies(self):
     return [
         attribute_label("gridcell", "region_id"),
         attribute_label("gridcell", "population"),
         attribute_label("gridcell", "is_outside_urban_growth_boundary"),
         my_attribute_label("region_id")
     ]
コード例 #16
0
 def dependencies(self):
     return [
         attribute_label(
             "gridcell",
             self.gc_ln_residential_improvement_value_per_residential_unit),
         attribute_label("household", self.hh_income)
     ]
コード例 #17
0
 def dependencies(self):
     return [
         attribute_label("employment_sector_group", "group_id"),
         attribute_label("employment_sector_group", self.gr_name),
         my_attribute_label(self.sector_id),
         attribute_label("employment_sector", "sector_id")
     ]
コード例 #18
0
 def dependencies(self):
     
     return [attribute_label("gridcell", 'is_in_plan_type_group_%s' % self.group),
             attribute_label("gridcell", 'is_in_plan_type_group_%s' % self.group),
             attribute_label("gridcell", 'total_land_value_if_in_plan_type_group_%s' % self.group),
             "total_%s_land_value = large_area.aggregate(gridcell.total_land_value_if_in_plan_type_group_%s, intermediates=[zone, faz])" % (self.group,self.group),
             "number_of_%s_gridcells = large_area.aggregate(gridcell.is_in_plan_type_group_%s, intermediates=[zone, faz])" % (self.group, self.group), 
             my_attribute_label("large_area_id")]
コード例 #19
0
 def dependencies(self):
     
     return [attribute_label("gridcell", 'is_in_plan_type_group_%s' % self.group),
             attribute_label("gridcell", 'is_in_plan_type_group_%s' % self.group),
             attribute_label("gridcell", 'total_land_value_if_in_plan_type_group_%s' % self.group),
             "total_%s_land_value = large_area.aggregate(gridcell.total_land_value_if_in_plan_type_group_%s, intermediates=[zone, faz])" % (self.group,self.group),
             "number_of_%s_gridcells = large_area.aggregate(gridcell.is_in_plan_type_group_%s, intermediates=[zone, faz])" % (self.group, self.group), 
             my_attribute_label("large_area_id")]
コード例 #20
0
 def dependencies(self):
     return [
         attribute_label(
             "gridcell",
             "trip_weighted_average_utility_hbw_to_work_am_income_%d" %
             self.income_type),
         attribute_label("household", "is_income_%d" % self.income_type)
     ]
コード例 #21
0
 def dependencies(self):
     return [
         attribute_label("zone",
                         self.ln_home_access_to_population_income_1),
         attribute_label("zone",
                         self.ln_home_access_to_population_income_2),
         attribute_label("zone",
                         self.ln_home_access_to_population_income_3),
         attribute_label("zone", self.ln_home_access_to_population_income_4)
     ]
コード例 #22
0
 def dependencies(self):
     return [
         attribute_label("zone",
                         self.access_to_workplace_from_residences_1),
         attribute_label("zone",
                         self.access_to_workplace_from_residences_2),
         attribute_label("zone",
                         self.access_to_workplace_from_residences_3),
         attribute_label("zone", self.access_to_workplace_from_residences_4)
     ]
コード例 #23
0
 def dependencies(self):
     return [attribute_label("gridcell", self.gc_tfhtj_income_1),
             attribute_label("gridcell", self.gc_tfhtj_income_2),
             attribute_label("gridcell", self.gc_tfhtj_income_3),
             attribute_label("gridcell", self.gc_tfhtj_income_4),
             attribute_label("gridcell", 'grid_id'),
             attribute_label("household", self.hh_income_1),
             attribute_label("household", self.hh_income_2),
             attribute_label("household", self.hh_income_3),
             attribute_label("household", self.hh_income_4)
             ]
コード例 #24
0
 def dependencies(self):
     return [
         attribute_label("gridcell", self.gc_tfhtj_income_1),
         attribute_label("gridcell", self.gc_tfhtj_income_2),
         attribute_label("gridcell", self.gc_tfhtj_income_3),
         attribute_label("gridcell", self.gc_tfhtj_income_4),
         attribute_label("gridcell", 'grid_id'),
         attribute_label("household", self.hh_income_1),
         attribute_label("household", self.hh_income_2),
         attribute_label("household", self.hh_income_3),
         attribute_label("household", self.hh_income_4)
     ]
コード例 #25
0
 def dependencies(self):
     return [
         "psrc.person.household_id",
         "psrc.person." + self.var_name,
         "psrc.person." + self.worker,
         attribute_label("household", "household_id"),
     ]
 def dependencies(self):
     return [
         "psrc.person.household_id",
         "psrc.person." + self.county,
         "psrc.person." + self.worker,
         attribute_label("household", "household_id"),
         "psrc.household.has_" + self.worker,
     ]
 def dependencies(self):
     return [
         "psrc.person.household_id",
         "psrc.person." + self.county,
         "psrc.person." + self.worker,
         attribute_label("household", "household_id"),
         "psrc.household.has_" + self.worker,
     ]
コード例 #28
0
 def dependencies(self):
     return [attribute_label("gridcell", self.gc_wauh_from_home_ai_1),
             attribute_label("gridcell", self.gc_wauh_from_home_ai_2),
             attribute_label("gridcell", self.gc_wauh_from_home_ai_3),
             attribute_label("gridcell", self.gc_wauh_from_home_ai_4),
             attribute_label("household", self.hh_income_1),
             attribute_label("household", self.hh_income_2),
             attribute_label("household", self.hh_income_3),
             attribute_label("household", self.hh_income_4)
             ]
 def dependencies(self):
     return [attribute_label("gridcell", self.gc_wauh_to_work_ai_1),
             attribute_label("gridcell", self.gc_wauh_to_work_ai_2),
             attribute_label("gridcell", self.gc_wauh_to_work_ai_3),
             attribute_label("gridcell", self.gc_wauh_to_work_ai_4),
             attribute_label("household", self.hh_income_1),
             attribute_label("household", self.hh_income_2),
             attribute_label("household", self.hh_income_3),
             attribute_label("household", self.hh_income_4)
             ]
コード例 #30
0
 def dependencies(self):
     # lag variables of each of below gridcells variables
     return [attribute_label("gridcell", self.commercial_sqft),
             attribute_label("gridcell", self.industrial_sqft),
             attribute_label("gridcell", self.governmental_sqft),
             attribute_label("gridcell", self.residential_units),
             attribute_label("gridcell", self.commercial_sqft_lag),
             attribute_label("gridcell", self.industrial_sqft_lag),
             attribute_label("gridcell", self.governmental_sqft_lag),
             attribute_label("gridcell", self.residential_units_lag),
             my_attribute_label(self.land_cover_grid_id_index)] 
コード例 #31
0
 def dependencies(self):
     # lag variables of each of below gridcells variables
     return [
         attribute_label("gridcell", self.commercial_sqft),
         attribute_label("gridcell", self.industrial_sqft),
         attribute_label("gridcell", self.governmental_sqft),
         attribute_label("gridcell", self.residential_units),
         attribute_label("gridcell", self.commercial_sqft_lag),
         attribute_label("gridcell", self.industrial_sqft_lag),
         attribute_label("gridcell", self.governmental_sqft_lag),
         attribute_label("gridcell", self.residential_units_lag),
         my_attribute_label(self.land_cover_grid_id_index)
     ]
コード例 #32
0
 def dependencies(self):
     return [
         attribute_label("job", "grid_id"),
         my_attribute_label("grid_id")
     ]
コード例 #33
0
 def dependencies(self):
     return ["psrc.parcel.%s" % self.is_in_city,
             attribute_label("household", self.hh_income)]
コード例 #34
0
 def dependencies(self):
     return [attribute_label("neighborhood", "ln_price"), 
             attribute_label("household", "medinc")]
コード例 #35
0
 def dependencies(self):
     return [my_attribute_label("zone_id"), 
             attribute_label("zone", self.zn_ln_access_to_workplaces_from_residences)]
コード例 #36
0
 def dependencies(self):
     return [
         attribute_label("gridcell", self.gc_utility_for_transit_walk),
         attribute_label("household", self.has_persons),
     ]
コード例 #37
0
 def dependencies(self):
     return [attribute_label("neighborhood", "nper1_m"), 
             attribute_label("household", "nper1")]
コード例 #38
0
 def dependencies(self):
     return [attribute_label("household", self.is_high_income, "mag_zone"), 
             attribute_label("household", "tazi03_id", "mag_zone")]
コード例 #39
0
 def dependencies(self):
     return [attribute_label("household", self.has_persons), 
             attribute_label("household", "zone_id")]
コード例 #40
0
 def dependencies(self):
     return [attribute_label("building", self.total_value),
             attribute_label("building", "grid_id")]
コード例 #41
0
 def dependencies(self):
     return [attribute_label("gridcell", self.commercial_sqft),
             attribute_label("gridcell", self.industrial_sqft),
             attribute_label("gridcell", self.governmental_sqft),
             my_attribute_label(self.land_cover_grid_id_index)] 
コード例 #42
0
ファイル: SSS_sqft_per_job.py プロジェクト: psrc/urbansim
 def dependencies(self):
     return [attribute_label("gridcell", "sqft_of_%s_jobs" % self.type), 
              attribute_label("gridcell", "zone_id"), 
              my_attribute_label("number_of_%s_jobs" % self.type)]
コード例 #43
0
 def dependencies(self):
     return [attribute_label("job", self.is_commercial), 
             attribute_label("job", "zone_id")]
コード例 #44
0
 def dependencies(self):
     return [attribute_label("neighborhood", "foreign_m"), 
             "paris.household.hhfrench"]
コード例 #45
0
ファイル: number_of_gridcells.py プロジェクト: psrc/urbansim
 def dependencies(self):
     return [attribute_label("gridcell", "zone_id"), 
             my_attribute_label("zone_id")]
コード例 #46
0
 def dependencies(self):
     return [
         my_attribute_label("zone_id"),
         attribute_label("zone", self.faz_fazdistrict_id)
     ]
コード例 #47
0
 def dependencies(self):
     return [attribute_label("gridcell", "region_id"),
             attribute_label("gridcell", "population"),
             attribute_label("gridcell", "is_outside_urban_growth_boundary")]
コード例 #48
0
 def dependencies(self):
     return [attribute_label("plan_type_group", "group_id"),
             attribute_label("plan_type_group", "name"),
             attribute_label("plan_type", "plan_type_id"),
             my_attribute_label("plan_type_id")]
コード例 #49
0
 def dependencies(self):
     return [
         my_attribute_label("faz_id"),
         attribute_label("faz", "large_area_id")
     ]
コード例 #50
0
 def dependencies(self):
     return [
         attribute_label("neighborhood", "foreign_m"),
         attribute_label("household", "foreign_born")
     ]
コード例 #51
0
ファイル: n_recent_buildings.py プロジェクト: psrc/urbansim
 def dependencies(self):
     return [attribute_label("building", "building_age"), attribute_label("building", "grid_id")]
コード例 #52
0
def my_attribute_label(attribute_name):
    """Return a triple (package, dataset_name, attribute_name).
    """
    return attribute_label("development_project", attribute_name)
コード例 #53
0
 def dependencies(self):
     return [
         attribute_label("land_use_type", "land_use_name"),
         my_attribute_label("land_use_type_id")
     ]
コード例 #54
0
 def dependencies(self):
     return [attribute_label("household", self.is_mid_income), 
             attribute_label("household", "grid_id"), 
             my_attribute_label("grid_id")]
コード例 #55
0
 def dependencies(self):
     return [attribute_label("household", "zone_id"), 
             my_attribute_label("zone_id")]
コード例 #56
0
ファイル: ln_number_of_jobs.py プロジェクト: psrc/urbansim
 def dependencies(self):
     return [attribute_label("zone", "number_of_jobs")]
コード例 #57
0
 def dependencies(self):
     return [
         my_attribute_label("grid_id"),
         attribute_label("gridcell", "zone_id")
     ]
コード例 #58
0
 def dependencies(self):
     return [attribute_label("faz", self.faz_number_of_households), attribute_label("faz", "fazdistrict_id")]