module Experian class DataDictionary # Discretionary Spend Estimate def self.en_t200_description "Discretionary Spend Estimate predicts the dollar estimate of annual spend on non-essential, discretionary expenses such as household furniture, alcohol and tobacco, donations, dining out, education, reading, personal care and entertainment (fees, audio/visual equipment, toys, hobbies, pets, playground equipment and other equipment). Represents an actual dollar amount." end def self.en_t200(key) values = { '4' => 'Zip+4 level data', 'L' => 'Living unit level data', 'Z' => 'Zip level data' } return 'Unknown' if key.size != 6 or values[key[0]].nil? or key[1..6].to_i < 888 or key[1..6].to_i > 87900 [values[key[0]], [key[1..6]]].join(' - ') end end end