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)
     ]
Exemplo n.º 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")
     ]
Exemplo n.º 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)
     ]
 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"),
     ]
 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")
     ]
 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")
     ]
Exemplo n.º 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"),
     ]
 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"),
     ]
Exemplo n.º 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")
     ]
Exemplo n.º 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")
     ]
Exemplo n.º 16
0
 def dependencies(self):
     return [
         attribute_label(
             "gridcell",
             self.gc_ln_residential_improvement_value_per_residential_unit),
         attribute_label("household", self.hh_income)
     ]
Exemplo n.º 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")
     ]
Exemplo n.º 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")]
Exemplo n.º 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")]
Exemplo n.º 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)
     ]
Exemplo n.º 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)
     ]
 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)
     ]
 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)
             ]
Exemplo n.º 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)
     ]
Exemplo n.º 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,
     ]
Exemplo n.º 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)
             ]
Exemplo n.º 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)] 
Exemplo n.º 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)
     ]
Exemplo n.º 32
0
 def dependencies(self):
     return [
         attribute_label("job", "grid_id"),
         my_attribute_label("grid_id")
     ]
 def dependencies(self):
     return ["psrc.parcel.%s" % self.is_in_city,
             attribute_label("household", self.hh_income)]
Exemplo n.º 34
0
 def dependencies(self):
     return [attribute_label("neighborhood", "ln_price"), 
             attribute_label("household", "medinc")]
Exemplo n.º 35
0
 def dependencies(self):
     return [my_attribute_label("zone_id"), 
             attribute_label("zone", self.zn_ln_access_to_workplaces_from_residences)]
 def dependencies(self):
     return [
         attribute_label("gridcell", self.gc_utility_for_transit_walk),
         attribute_label("household", self.has_persons),
     ]
Exemplo n.º 37
0
 def dependencies(self):
     return [attribute_label("neighborhood", "nper1_m"), 
             attribute_label("household", "nper1")]
Exemplo n.º 38
0
 def dependencies(self):
     return [attribute_label("household", self.is_high_income, "mag_zone"), 
             attribute_label("household", "tazi03_id", "mag_zone")]
 def dependencies(self):
     return [attribute_label("household", self.has_persons), 
             attribute_label("household", "zone_id")]
Exemplo n.º 40
0
 def dependencies(self):
     return [attribute_label("building", self.total_value),
             attribute_label("building", "grid_id")]
Exemplo n.º 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)] 
Exemplo n.º 42
0
 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)]
Exemplo n.º 43
0
 def dependencies(self):
     return [attribute_label("job", self.is_commercial), 
             attribute_label("job", "zone_id")]
Exemplo n.º 44
0
 def dependencies(self):
     return [attribute_label("neighborhood", "foreign_m"), 
             "paris.household.hhfrench"]
Exemplo n.º 45
0
 def dependencies(self):
     return [attribute_label("gridcell", "zone_id"), 
             my_attribute_label("zone_id")]
Exemplo n.º 46
0
 def dependencies(self):
     return [
         my_attribute_label("zone_id"),
         attribute_label("zone", self.faz_fazdistrict_id)
     ]
 def dependencies(self):
     return [attribute_label("gridcell", "region_id"),
             attribute_label("gridcell", "population"),
             attribute_label("gridcell", "is_outside_urban_growth_boundary")]
Exemplo n.º 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")]
Exemplo n.º 49
0
 def dependencies(self):
     return [
         my_attribute_label("faz_id"),
         attribute_label("faz", "large_area_id")
     ]
Exemplo n.º 50
0
 def dependencies(self):
     return [
         attribute_label("neighborhood", "foreign_m"),
         attribute_label("household", "foreign_born")
     ]
Exemplo n.º 51
0
 def dependencies(self):
     return [attribute_label("building", "building_age"), attribute_label("building", "grid_id")]
Exemplo n.º 52
0
def my_attribute_label(attribute_name):
    """Return a triple (package, dataset_name, attribute_name).
    """
    return attribute_label("development_project", attribute_name)
Exemplo n.º 53
0
 def dependencies(self):
     return [
         attribute_label("land_use_type", "land_use_name"),
         my_attribute_label("land_use_type_id")
     ]
 def dependencies(self):
     return [attribute_label("household", self.is_mid_income), 
             attribute_label("household", "grid_id"), 
             my_attribute_label("grid_id")]
 def dependencies(self):
     return [attribute_label("household", "zone_id"), 
             my_attribute_label("zone_id")]
Exemplo n.º 56
0
 def dependencies(self):
     return [attribute_label("zone", "number_of_jobs")]
 def dependencies(self):
     return [
         my_attribute_label("grid_id"),
         attribute_label("gridcell", "zone_id")
     ]
Exemplo n.º 58
0
 def dependencies(self):
     return [attribute_label("faz", self.faz_number_of_households), attribute_label("faz", "fazdistrict_id")]