Sha256: e022f4a22c4edfe38c05fb568d576f4cde6751100078e2016b1a3642ba7ea782
Contents?: true
Size: 533 Bytes
Versions: 24
Compression:
Stored size: 533 Bytes
Contents
ClimateDivision.class_eval do data_miner do import "a list of climate divisions and their average heating and cooling degree days", :url => 'http://static.brighterplanet.com/science/data/climate/climate_divisions/climate_divisions.csv' do key 'name' store 'heating_degree_days', :from_units => :degrees_fahrenheit, :to_units => :degrees_celsius store 'cooling_degree_days', :from_units => :degrees_fahrenheit, :to_units => :degrees_celsius store 'state_postal_abbreviation' end end end
Version data entries
24 entries across 24 versions & 1 rubygems