Sha256: a538dd5c31ed2babd08ff386fe7650599a4c041e31229c37ce8f1044ab92b6d5

Contents?: true

Size: 854 Bytes

Versions: 4

Compression:

Stored size: 854 Bytes

Contents

module Experian
  class DataDictionary

    def self.en_0162_column_name
      'Individual Education'
    end

    def self.en_0162_value_description(key); ''; end

    def self.en_0162_description
      'Information is compiled from self-reported surveys, derived based on occupational information, or calculated through the application of predictive models.'
    end

    def self.en_0162(key)
      likely = {
        '1' => 'Likely',
        '5' => 'Extremely Likely'
      }
      education = {
        '1' => 'High School Diploma',
        '2' => 'Some College',
        '3' => 'Bachelor Degree',
        '4' => 'Graduate Degree',
        '5' => 'Less Than High School Diploma'
      }
      return 'Unknown' if key.size != 2 or education[key[1]].nil? or likely[key[0]].nil?
      [education[key[1]], likely[key[0]]].join(' - ')
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
experian-data-dictionary-1.4.4 lib/element_numbers/0100/en_0162.rb
experian-data-dictionary-1.4.3 lib/element_numbers/en_0162.rb
experian-data-dictionary-1.4.2 lib/element_numbers/en_0162.rb
experian-data-dictionary-1.4.1 lib/element_numbers/en_0162.rb