Sha256: d2458e77c4b997b2979273e529908a0648bc875fbe42be25b346a98f5126db18

Contents?: true

Size: 725 Bytes

Versions: 1

Compression:

Stored size: 725 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_value_description(_key)
      ''
    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

1 entries across 1 versions & 1 rubygems

Version Path
experian-data-dictionary-1.4.5 lib/element_numbers/0100/en_0103.rb