Sha256: 7e638ef1fc0feb08e44827533a2dd9440ed539aada467c4a3d6307605658db9d
Contents?: true
Size: 437 Bytes
Versions: 5
Compression:
Stored size: 437 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 recs_responses.urbanity_id FROM recs_responses WHERE LENGTH(recs_responses.urbanity_id) > 0 } end end end
Version data entries
5 entries across 5 versions & 1 rubygems