Sha256: d2860212af91e9c9fddf08d38ade491bd3fdd46fc6fb889db068c0955ef2b87d
Contents?: true
Size: 739 Bytes
Versions: 25
Compression:
Stored size: 739 Bytes
Contents
Industry.class_eval do data_miner do schema Earth.database_options do string 'naics_code' string 'description' end # FIXME TODO some codes need to be disaggregated: # 31-33 "manufacturing" should be 31, 32, 33 all "manufacturing" # 44-45 "retail trade" should be 44 and 45 "retail trade" # 48-49 "transportation and warehouseing" should be 48 and 49 "transportation and warehousing" import "the U.S. Census 2002 NAICS code list", :url => 'http://www.census.gov/epcd/naics02/naicod02.txt', :skip => 4, :headers => false, :delimiter => ' ' do key 'naics_code', :field_number => 0 store 'description', :field_number => 1 end end end
Version data entries
25 entries across 25 versions & 1 rubygems