module Experian class DataDictionary # Religion & Religion Propensity, Self reported data def self.en_8525_column_name 'Religion & Religion Propensity, Self reported data' end def self.en_8525_value_description(_key) '' end def self.en_8525_description 'Z religion & religion propensities indicates a household\'s self reported interest in religion. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self-reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.' end # Religion & Religion Propensity, Quick Predict Code def self.en_8525p_column_name 'Religion & Religion Propensity, Quick Predict Code' end def self.en_8525p_value_description(_key) '' end def self.en_8525p_description 'Z religion & religion propensities indicates a household\'s self reported interest in religion. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self-reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.' end def self.en_8525(key) charity = { 'Y' => 'Living unit has a known interest in religion', 'U' => 'Unknown' } code = { '1' => 'Extremely Likely interest in religion', '2' => 'Highly Likely interest in religion', '3' => 'Very Likely interest in religion', '4' => 'Somewhat Likely interest in religion', '5' => 'Likely interest in religion', '6' => 'Somewhat Unlikely interest in religion', '7' => 'Very Unlikely interest in religion', '8' => 'Highly Unlikely interest in religion', '9' => 'Extremely Unlikely interest in religion', '0' => 'Unknown / Not Attempted' } return 'Unknown' if key.size != 2 || code[key[1]].nil? || charity[key[0]].nil? [charity[key[0]], code[key[1]]].join(' - ') end def self.en_8525p(key) Experian::DataDictionary.en_8525(key) end end end