Sha256: 96a3a414ac4a9b91e0cb7d5cae2e4d7c20dd3c86d08ef03ac6af388a3a1f702c
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
module Experian class DataDictionary # Occupation Group def self.en_0161_column_name 'Occupation Group' end def self.en_0161_value_description(key); ''; end def self.en_0161_description 'Occupation Group V2 information is compiled from self-reported surveys, derived from state licensing agencies, or calculated through the application of predicted models.' end def self.en_0161(key) type = { 'K' => 'Known', 'I' => 'Inferred' } values = { '1' => 'Management/Business & Financial Operations', '2' => 'Technical: Computers/Math & Architect/Engineering', '3' => 'Professional: Legal/Education & Health Practitioner/Tech/Support', '4' => 'Sales', '5' => 'Office & Administrative Support', '6' => 'Blue Collar', '7' => 'Farming/Fish/Forestry', '8' => 'Other', '9' => 'Retired', '0' => 'Unknown' } return 'Unknown' if key.size != 2 or values[key[1]].nil? or type[key[0]].nil? or key.eql?("U00") [values[key[1]], type[key[0]]].join(' - ') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
experian-data-dictionary-1.4.4 | lib/element_numbers/0100/en_0161.rb |
experian-data-dictionary-1.4.3 | lib/element_numbers/en_0161.rb |