Sha256: a891c049a9e01d1064fe4918a637ffa21f3f27c19582348159c167d42c0e0219
Contents?: true
Size: 496 Bytes
Versions: 20
Compression:
Stored size: 496 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' store 'cooling_degree_days' store 'state_postal_abbreviation' end #associate :state, :key => :state_postal_abbreviation, :foreign_key => :postal_abbreviation end end
Version data entries
20 entries across 20 versions & 1 rubygems