Sha256: ccd38f3eeb48a08e2f8c839dfab2ead1e44630db38d3811f829655e38eabecf6

Contents?: true

Size: 613 Bytes

Versions: 25

Compression:

Stored size: 613 Bytes

Contents

ProductLine.class_eval do
  data_miner do
    schema Earth.database_options do
      string 'ps_code'
      string 'description'
      string 'broadline' # FIXME TODO do we need this?
      string 'parent'    # FIXME TODO do we need this?
    end
    
    import "the U.S. Census list of Products and Services codes for the wholesale and retail trade sectors",
           :url => 'http://spreadsheets.google.com/pub?key=0AoQJbWqPrREqdGxOUzBId0VuWTB0U0dOUHExOVlWTlE&hl=en&single=true&gid=0&output=csv' do
      key 'ps_code'
      store 'description'
      store 'broadline'
      store 'parent'
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
earth-0.0.43 lib/earth/industry/product_line/data_miner.rb
earth-0.0.42 lib/earth/industry/product_line/data_miner.rb
earth-0.0.41 lib/earth/industry/product_line/data_miner.rb
earth-0.0.40 lib/earth/industry/product_line/data_miner.rb
earth-0.0.39 lib/earth/industry/product_line/data_miner.rb
earth-0.0.38 lib/earth/industry/product_line/data_miner.rb
earth-0.0.37 lib/earth/industry/product_line/data_miner.rb
earth-0.0.36 lib/earth/industry/product_line/data_miner.rb
earth-0.0.35 lib/earth/industry/product_line/data_miner.rb
earth-0.0.34 lib/earth/industry/product_line/data_miner.rb
earth-0.0.33 lib/earth/industry/product_line/data_miner.rb
earth-0.0.32 lib/earth/industry/product_line/data_miner.rb
earth-0.0.31 lib/earth/industry/product_line/data_miner.rb
earth-0.0.30 lib/earth/industry/product_line/data_miner.rb
earth-0.0.29 lib/earth/industry/product_line/data_miner.rb
earth-0.0.28 lib/earth/industry/product_line/data_miner.rb
earth-0.0.27 lib/earth/industry/product_line/data_miner.rb
earth-0.0.26 lib/earth/industry/product_line/data_miner.rb
earth-0.0.24 lib/earth/industry/product_line/data_miner.rb
earth-0.0.23 lib/earth/industry/product_line/data_miner.rb