Sha256: 7f0ae927dfbc00b19332b180f8bd7db774005dafe78a5a98838bb5e5591ea88b

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

module Experian
  class DataDictionary
    # EST HOUSEHOLD INCOME RANGES V4
    def self.en_d105n_column_name
      'EST HOUSEHOLD INCOME RANGES V4'
    end

    def self.en_d105n_value_description(_key)
      ''
    end

    def self.en_d105n_description
      'Estimated Income is the total estimated income for a living unit, and incorporates several highly predictive individual and household level variables. The income estimation is determined using multiple statistical methodologies to predict which of 12 income range a living unit is most likely to be assigned. When there is insufficient data to match a customer\'s record to ConsumerView for estimated income, a median estimated income based on the Experian modeled incomes assigned to other living units in the same ZIP+4 area is used. In the rare case that the ZIP+4 is not on the record, median income is based on the incomes assigned to other records in that ZIP region.'
    end

    def self.en_d105n(key)
      values = {
        'A' => '$1,000 - $14,999',
        'B' => '$15,000 - $24,999',
        'C' => '$25,000 - $34,999',
        'D' => '$35,000 - $49,999',
        'E' => '$50,000 - $74,999',
        'F' => '$75,000 - $99,999',
        'G' => '$100,000 - $124,999',
        'H' => '$125,000 - $149,999',
        'I' => '$150,000 - $174,999',
        'J' => '$175,000 - $199,999',
        'K' => '$200,000 - $249,999',
        'L' => '$250,000+',
        'U' => 'Unknown'
      }
      key.empty? ? 'Unknown' : values[key]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
experian-data-dictionary-1.4.5 lib/element_numbers/D/en_D105N.rb