lib/earth/rail/rail_class/data_miner.rb in earth-0.3.4 vs lib/earth/rail/rail_class/data_miner.rb in earth-0.3.5

- old
+ new

@@ -17,10 +17,10 @@ process "Define some unit conversions" do Conversions.register :gallons_per_mile, :litres_per_kilometre, 2.35214583 end import "a list of rail classes and pre-calculated trip and fuel use characteristics", - :url => 'http://static.brighterplanet.com/science/data/transport/rail/rail_classes.csv' do + :url => 'http://spreadsheets.google.com/pub?key=0AkCJNpm9Ks6JdE03elo4Q3ozRUlGTmhjU2NzTHA4bkE&hl=en&output=csv' do key 'name' store 'description' store 'passengers' store 'distance', :units_field_name => 'distance_units' store 'speed', :units_field_name => 'speed_units'