Sha256: c0ff5642c7b2c040258fa8c2742ca3ede6f43bb6e30da423c7b9303e59a244a3

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

module Experian
  class DataDictionary
    def self.en_0164_column_name
      'Political Persona'
    end

    def self.en_0164_value_description(_key)
      ''
    end

    def self.en_0164_description
      'PoliticalPersona Segments provide a detailed understanding of key voter segments, demographics, responsiveness to various media platforms, and attitudes and opinions on important political issues and social trends. Gain in-depth information to the demographics and insights on voter attitudes by segment and detailed analysis of media preferences by segment. PoliticalPersona provide actionable data on voter attitudes and opinions in key areas such as healthcare, employment and social security, education, and more.'
    end

    def self.en_0164(key)
      political = [
        'Unknown',
        'Unconnected & Unregistered',
        'Informed But Unregistered',
        'Super Democrats',
        'Left Out Democrats',
        'Conservative Democrats',
        'On-the-Fence Liberals',
        'Green Traditionalists',
        'Mild Republicans',
        'Uninvolved Conservatives',
        'Ultra Conservatives'
      ]
      return 'Unknown' unless (0..10) === key.to_i
      political[key.to_i]
    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_0164.rb