Sha256: 8943d33f982dad3357bf908bfce80b74cb14f0300740fcedb5f866b903c8909f

Contents?: true

Size: 549 Bytes

Versions: 18

Compression:

Stored size: 549 Bytes

Contents

require 'earth/locality/data_miner'
ComputationCarrierRegion.class_eval do
  data_miner do
    import "a list of computation carrier regions",
           :url => 'https://spreadsheets.google.com/pub?key=0AkCJNpm9Ks6JdGFEU1gtVzFPeS0tV1VnR05WZ2ZFUVE&gid=0&output=csv' do
      key   'name'
      store 'computation_carrier_name'
      store 'region'
      store 'egrid_subregion_abbreviation'
    end
    
    # FIXME TODO verify carrier_name appears in Carrier
    # FIXME TODO verify egrid_subregion_abbreviation appears in EgridSubregion
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
earth-0.12.4 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.12.3 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.12.2 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.12.1 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.12.0 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.20 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.19 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.18 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.17 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.16 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.15 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.14 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.13 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.12 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.11 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.10 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.9 lib/earth/computation/computation_carrier_region/data_miner.rb
earth-0.11.8 lib/earth/computation/computation_carrier_region/data_miner.rb