lib/automobile_trip/data.rb in automobile_trip-0.0.9 vs lib/automobile_trip/data.rb in automobile_trip-0.1.0
- old
+ new
@@ -2,14 +2,31 @@
module AutomobileTrip
module Data
def self.included(base)
base.data_miner do
schema do
- float 'emission_factor'
- float 'fuel_use'
- string 'fuel_type_name'
+ date 'date'
+ string 'make_name'
+ string 'make_year_name'
+ string 'make_model_name'
+ string 'make_model_year_name'
+ string 'make_model_year_variant_row_hash'
+ string 'size_class_name'
+ boolean 'hybridity'
+ float 'urbanity_estimate'
+ float 'hybridity_multiplier'
+ float 'fuel_efficiency'
+ float 'speed'
+ float 'city_speed'
+ float 'highway_speed'
+ float 'duration'
+ string 'origin'
+ string 'destination'
+ float 'distance'
+ float 'fuel_use'
+ string 'automobile_fuel_name'
+ string 'mapquest_api_key'
end
-
process :run_data_miner_on_belongs_to_associations
end
end
end
end