Sha256: aca89f91e08ba3983b0b5e8587f9a02f37b313031c7c26e385afa903b497d3bc
Contents?: true
Size: 482 Bytes
Versions: 5
Compression:
Stored size: 482 Bytes
Contents
Sic1987.class_eval do data_miner do import "SIC 1987 codes derived from US Census SIC 1987 to NAICS 2002 concordance", :url => 'http://www.census.gov/eos/www/naics/concordances/1987_SIC_to_2002_NAICS.xls', :select => lambda {|row| row['SIC'].to_i > 0} do key 'code', :synthesize => lambda { |row| "%04d" % row['SIC'].to_i } store 'description', :synthesize => lambda { |row| format_description row['SIC Title (and note)'] } end end end
Version data entries
5 entries across 5 versions & 1 rubygems