Sha256: 6ac6285f065e8f40bc5a3fc9ac390be6d7b5b95541581e4c7f7811cf753500ce
Contents?: true
Size: 685 Bytes
Versions: 74
Compression:
Stored size: 685 Bytes
Contents
ClimateDivision.class_eval do data_miner do schema Earth.database_options do string 'name' float 'heating_degree_days' float 'cooling_degree_days' string 'state_postal_abbreviation' end 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
74 entries across 74 versions & 2 rubygems