Sha256: 908c2b5629dc57a301a27b3c34e201a70a47bf247c4a148cb03bf1a7c92a4607

Contents?: true

Size: 479 Bytes

Versions: 8

Compression:

Stored size: 479 Bytes

Contents

Urbanity.class_eval do
  data_miner do
    process "Ensure ResidentialEnergyConsumptionSurveyResponse is populated" do
      ResidentialEnergyConsumptionSurveyResponse.run_data_miner!
    end
    
    process "Derive from ResidentialEnergyConsumptionSurveyResponse" do
      ::Earth::Utils.insert_ignore(
        :src => ResidentialEnergyConsumptionSurveyResponse,
        :dest => Urbanity,
        :cols => {
          :urbanity_id => :name
        }
      )
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
earth-0.7.0 lib/earth/locality/urbanity/data_miner.rb
earth-0.6.6 lib/earth/locality/urbanity/data_miner.rb
earth-0.6.5 lib/earth/locality/urbanity/data_miner.rb
earth-0.6.4 lib/earth/locality/urbanity/data_miner.rb
earth-0.6.3 lib/earth/locality/urbanity/data_miner.rb
earth-0.6.2 lib/earth/locality/urbanity/data_miner.rb
earth-0.6.1 lib/earth/locality/urbanity/data_miner.rb
earth-0.6.0 lib/earth/locality/urbanity/data_miner.rb