Sha256: a05d31526e06e05ac56867afd68bbd69cdc5a15533031b167649afbb134d6ee9
Contents?: true
Size: 532 Bytes
Versions: 29
Compression:
Stored size: 532 Bytes
Contents
Urbanity.class_eval do data_miner do schema do string 'name' end process "derive from ResidentialEnergyConsumptionSurveyResponse" do ResidentialEnergyConsumptionSurveyResponse.run_data_miner! connection.execute %{ INSERT IGNORE INTO urbanities(name) SELECT DISTINCT residential_energy_consumption_survey_responses.urbanity_id FROM residential_energy_consumption_survey_responses WHERE LENGTH(residential_energy_consumption_survey_responses.urbanity_id) > 0 } end end end
Version data entries
29 entries across 29 versions & 2 rubygems