lib/automobile/data.rb in automobile-0.0.16 vs lib/automobile/data.rb in automobile-0.1.0
- old
+ new
@@ -2,23 +2,23 @@
module Automobile
module Data
def self.included(base)
base.data_miner do
schema do
- string 'make_id'
- string 'model_id'
- string 'model_year_id'
- string 'variant_id'
- string 'size_class_id'
- string 'fuel_type_id'
+ 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'
+ string 'fuel_type_code'
boolean 'hybridity'
float 'urbanity'
float 'fuel_efficiency'
- float 'annual_distance_estimate'
- float 'weekly_distance_estimate'
- float 'daily_distance_estimate'
+ float 'annual_distance'
+ float 'weekly_distance'
+ float 'daily_distance'
float 'daily_duration'
- date 'date'
date 'acquisition'
date 'retirement'
end
process "pull orphans" do