Sha256: 48dd9aab395acef7936f07883f02ea03184400dbdb1c84507fc950230ae21bc8

Contents?: true

Size: 390 Bytes

Versions: 3

Compression:

Stored size: 390 Bytes

Contents

Sector.class_eval do
  data_miner do
    Sector.define_schema(self)
    
    import "sectors dictionary",
           :url => 'https://spreadsheets.google.com/pub?key=0AoQJbWqPrREqdHV2dzdjdGVnLUJCdDA4TURXNThROVE&hl=en&single=true&gid=1&output=csv' do
      key 'io_code'
      store 'description'
      store 'emission_factor', :units_field_name => 'emission_factor_units'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
earth-0.0.43 lib/earth/industry/sector/data_miner.rb
earth-0.0.42 lib/earth/industry/sector/data_miner.rb
earth-0.0.41 lib/earth/industry/sector/data_miner.rb