lib/earth/residence/dishwasher_use/data_miner.rb in earth-0.3.11 vs lib/earth/residence/dishwasher_use/data_miner.rb in earth-0.3.13
- old
+ new
@@ -8,10 +8,10 @@
process "derive from ResidentialEnergyConsumptionSurveyResponse" do
ResidentialEnergyConsumptionSurveyResponse.run_data_miner!
connection.execute %{
INSERT IGNORE INTO dishwasher_uses(name)
- SELECT DISTINCT residential_energy_consumption_survey_responses.dishwasher_use_id FROM residential_energy_consumption_survey_responses WHERE LENGTH(residential_energy_consumption_survey_responses.dishwasher_use_id) > 0
+ SELECT DISTINCT recs_responses.dishwasher_use_id FROM recs_responses WHERE LENGTH(recs_responses.dishwasher_use_id) > 0
}
end
# sabshere 5/25/10 weird that this uses cohort
process "precalculate annual energy" do