Sha256: a49ea3c5ed0219a7a1e11d15143337e0ff0150de0ba6593f6aaa1d7581645807

Contents?: true

Size: 667 Bytes

Versions: 3

Compression:

Stored size: 667 Bytes

Contents

module Experian
  class DataDictionary

    def self.en_0103_column_name
      'Gender Code'
    end
    
    def self.en_0103_description
      'Gender information is applied during the convert prior to enhancement. Approximately five to eight percent of the client records are coded as gender unknown because of ambiguous or unisex names. Records coded as gender both include those with prefixes of Mr. & Mrs. and/or first names like John & Mary.'
    end

    def self.en_0103(key)
      values = {
        'M' => 'Male',
        'F' => 'Female',
        'B' => 'Both',
        'U' => 'Unknown'
      }
      key.empty? ? 'Unknown' : values[key]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
experian-data-dictionary-1.4 lib/element_numbers/en_0103.rb
experian-data-dictionary-1.3 lib/element_numbers/en_0103.rb
experian-data-dictionary-1.2 lib/element_numbers/en_0103.rb