Sha256: c7d9ab31c0989701423fc9ecc4b833fa663ab276ce33282c69f81a64a020990c
Contents?: true
Size: 570 Bytes
Versions: 9
Compression:
Stored size: 570 Bytes
Contents
ResidenceFuelType.class_eval do data_miner do schema Earth.database_options do string 'name' float 'emission_factor' string 'emission_factor_units' # float 'energy_content' # string 'energy_content_units' end import "a list of residential fuels and their emissions factors", :url => 'http://spreadsheets.google.com/pub?key=rukxnmuhhsOsrztTrUaFCXQ&gid=0&output=csv' do key 'name' store 'emission_factor', :field_name => 'emission_factor', :units_field_name => 'units' end end end
Version data entries
9 entries across 9 versions & 1 rubygems