experian-data-dictionary 1.4.4 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +28 -0
- data/Gemfile +3 -3
- data/Rakefile +7 -13
- data/experian_data_dictionary.gemspec +4 -4
- data/lib/element_numbers/0000/en_0000.rb +3 -3
- data/lib/element_numbers/0100/en_0100.rb +12 -12
- data/lib/element_numbers/0100/en_0103.rb +3 -2
- data/lib/element_numbers/0100/en_0107.rb +4 -3
- data/lib/element_numbers/0100/en_0108.rb +22 -11
- data/lib/element_numbers/0100/en_0110.rb +3 -2
- data/lib/element_numbers/0100/en_0112.rb +3 -2
- data/lib/element_numbers/0100/en_0113.rb +3 -2
- data/lib/element_numbers/0100/en_0118.rb +3 -2
- data/lib/element_numbers/0100/en_0119.rb +4 -4
- data/lib/element_numbers/0100/en_0130.rb +3 -2
- data/lib/element_numbers/0100/en_0131.rb +3 -2
- data/lib/element_numbers/0100/en_0132.rb +9 -7
- data/lib/element_numbers/0100/en_0133.rb +3 -2
- data/lib/element_numbers/0100/en_0134.rb +5 -5
- data/lib/element_numbers/0100/en_0135.rb +5 -5
- data/lib/element_numbers/0100/en_0136.rb +5 -5
- data/lib/element_numbers/0100/en_0137.rb +5 -5
- data/lib/element_numbers/0100/en_0138.rb +5 -5
- data/lib/element_numbers/0100/en_0139.rb +5 -5
- data/lib/element_numbers/0100/en_0140.rb +5 -5
- data/lib/element_numbers/0100/en_0141.rb +5 -5
- data/lib/element_numbers/0100/en_0155.rb +3 -3
- data/lib/element_numbers/0100/en_0156.rb +3 -3
- data/lib/element_numbers/0100/en_0160.rb +4 -5
- data/lib/element_numbers/0100/en_0161.rb +4 -5
- data/lib/element_numbers/0100/en_0162.rb +4 -4
- data/lib/element_numbers/0100/en_0164.rb +3 -3
- data/lib/element_numbers/0100/en_0174.rb +3 -3
- data/lib/element_numbers/0100/en_0177.rb +3 -3
- data/lib/element_numbers/0600/en_0601.rb +4 -3
- data/lib/element_numbers/0700/en_0711.rb +4 -4
- data/lib/element_numbers/0700/en_0715.rb +4 -5
- data/lib/element_numbers/0700/en_0716.rb +4 -4
- data/lib/element_numbers/0700/en_0717.rb +4 -4
- data/lib/element_numbers/300/en_310M.rb +3 -3
- data/lib/element_numbers/300/en_313HH.rb +0 -2
- data/lib/element_numbers/8000/en_8102.rb +3 -2
- data/lib/element_numbers/8000/en_8103.rb +3 -2
- data/lib/element_numbers/8000/en_8109.rb +3 -2
- data/lib/element_numbers/8000/en_8123.rb +3 -2
- data/lib/element_numbers/8000/en_8128.rb +3 -2
- data/lib/element_numbers/8000/en_8133.rb +3 -2
- data/lib/element_numbers/8000/en_8136.rb +3 -2
- data/lib/element_numbers/8000/en_8137.rb +3 -2
- data/lib/element_numbers/8000/en_8180.rb +3 -2
- data/lib/element_numbers/8000/en_8181.rb +3 -2
- data/lib/element_numbers/8000/en_8502.rb +8 -6
- data/lib/element_numbers/8000/en_8503.rb +8 -6
- data/lib/element_numbers/8000/en_8504.rb +8 -6
- data/lib/element_numbers/8000/en_8505.rb +8 -6
- data/lib/element_numbers/8000/en_8509.rb +8 -6
- data/lib/element_numbers/8000/en_8519.rb +8 -6
- data/lib/element_numbers/8000/en_8523.rb +8 -6
- data/lib/element_numbers/8000/en_8525.rb +8 -6
- data/lib/element_numbers/8000/en_8526.rb +9 -7
- data/lib/element_numbers/8000/en_8528.rb +8 -6
- data/lib/element_numbers/8000/en_8531.rb +8 -6
- data/lib/element_numbers/8000/en_8532.rb +8 -6
- data/lib/element_numbers/8000/en_8533.rb +10 -9
- data/lib/element_numbers/8000/en_8536.rb +8 -6
- data/lib/element_numbers/8000/en_8537.rb +8 -6
- data/lib/element_numbers/8000/en_8538.rb +8 -6
- data/lib/element_numbers/8000/en_8574.rb +8 -6
- data/lib/element_numbers/8000/en_8580.rb +8 -6
- data/lib/element_numbers/8000/en_8581.rb +8 -6
- data/lib/element_numbers/A/en_A107.rb +3 -2
- data/lib/element_numbers/B/en_B000.rb +5 -5
- data/lib/element_numbers/B/en_B2185.rb +3 -2
- data/lib/element_numbers/B/en_B3010.rb +3 -2
- data/lib/element_numbers/B/en_B3076.rb +3 -2
- data/lib/element_numbers/B/en_B3080.rb +3 -2
- data/lib/element_numbers/B/en_B3081.rb +3 -2
- data/lib/element_numbers/B/en_B3200.rb +3 -2
- data/lib/element_numbers/B/en_B3225.rb +3 -2
- data/lib/element_numbers/B/en_B3226.rb +3 -2
- data/lib/element_numbers/B/en_B3227.rb +3 -2
- data/lib/element_numbers/B/en_B3251.rb +3 -2
- data/lib/element_numbers/B/en_B5011.rb +3 -2
- data/lib/element_numbers/B/en_B5013.rb +3 -2
- data/lib/element_numbers/B/en_B5014.rb +3 -2
- data/lib/element_numbers/B/en_B5016.rb +3 -2
- data/lib/element_numbers/D/en_D105N.rb +3 -3
- data/lib/element_numbers/D/en_D105S.rb +3 -2
- data/lib/element_numbers/D/en_D200.rb +3 -3
- data/lib/element_numbers/F/en_F031.rb +3 -3
- data/lib/element_numbers/G/en_G2001.rb +5 -5
- data/lib/element_numbers/G/en_G2514.rb +3 -3
- data/lib/element_numbers/G/en_G2516.rb +3 -3
- data/lib/element_numbers/G/en_G2601.rb +3 -3
- data/lib/element_numbers/G/en_G2602.rb +3 -3
- data/lib/element_numbers/G/en_G2603.rb +3 -3
- data/lib/element_numbers/G/en_GEO6.rb +3 -3
- data/lib/element_numbers/L/en_L000.rb +4 -4
- data/lib/element_numbers/P/en_P213E.rb +4 -4
- data/lib/element_numbers/P/en_P213H.rb +21 -21
- data/lib/element_numbers/P/en_P213W.rb +4 -4
- data/lib/element_numbers/P/en_P400.rb +6 -4
- data/lib/element_numbers/T/en_T2000.rb +4 -4
- data/lib/element_numbers/V/en_V000.rb +3 -3
- data/lib/element_numbers/Y/en_Y000.rb +3 -3
- data/lib/experian.rb +10 -10
- data/spec/functional/0000/en_0000_spec.rb +13 -16
- data/spec/functional/0100/en_0100_spec.rb +13 -20
- data/spec/functional/0100/en_0103_spec.rb +9 -12
- data/spec/functional/0100/en_0107_spec.rb +10 -13
- data/spec/functional/0100/en_0108_spec.rb +411 -445
- data/spec/functional/0100/en_0110_spec.rb +11 -14
- data/spec/functional/0100/en_0112_spec.rb +7 -10
- data/spec/functional/0100/en_0113_spec.rb +12 -16
- data/spec/functional/0100/en_0118_spec.rb +11 -15
- data/spec/functional/0100/en_0119_spec.rb +7 -10
- data/spec/functional/0100/en_0130_spec.rb +8 -12
- data/spec/functional/0100/en_0131_spec.rb +9 -13
- data/spec/functional/0100/en_0132_spec.rb +4 -8
- data/spec/functional/0100/en_0133_spec.rb +4 -8
- data/spec/functional/0100/en_0134_spec.rb +15 -19
- data/spec/functional/0100/en_0135_spec.rb +15 -19
- data/spec/functional/0100/en_0136_spec.rb +15 -19
- data/spec/functional/0100/en_0137_spec.rb +14 -18
- data/spec/functional/0100/en_0138_spec.rb +14 -18
- data/spec/functional/0100/en_0139_spec.rb +14 -18
- data/spec/functional/0100/en_0140_spec.rb +14 -18
- data/spec/functional/0100/en_0141_spec.rb +14 -18
- data/spec/functional/0100/en_0155_spec.rb +7 -11
- data/spec/functional/0100/en_0156_spec.rb +7 -11
- data/spec/functional/0100/en_0160_spec.rb +8 -13
- data/spec/functional/0100/en_0161_spec.rb +8 -12
- data/spec/functional/0100/en_0162_spec.rb +7 -11
- data/spec/functional/0100/en_0164_spec.rb +9 -14
- data/spec/functional/0100/en_0174_spec.rb +8 -13
- data/spec/functional/0100/en_0177_spec.rb +7 -12
- data/spec/functional/0600/en_0601_spec.rb +7 -12
- data/spec/functional/0700/en_0711_spec.rb +10 -13
- data/spec/functional/0700/en_0715_spec.rb +11 -15
- data/spec/functional/0700/en_0716_spec.rb +11 -15
- data/spec/functional/0700/en_0717_spec.rb +11 -12
- data/spec/functional/300/en_310M_spec.rb +66 -70
- data/spec/functional/300/en_313HH_spec.rb +7 -12
- data/spec/functional/8000/en_8102_spec.rb +7 -10
- data/spec/functional/8000/en_8103_spec.rb +7 -10
- data/spec/functional/8000/en_8109_spec.rb +7 -10
- data/spec/functional/8000/en_8123_spec.rb +7 -10
- data/spec/functional/8000/en_8128_spec.rb +7 -10
- data/spec/functional/8000/en_8133_spec.rb +7 -10
- data/spec/functional/8000/en_8136_spec.rb +7 -10
- data/spec/functional/8000/en_8137_spec.rb +7 -10
- data/spec/functional/8000/en_8180_spec.rb +7 -10
- data/spec/functional/8000/en_8181_spec.rb +7 -10
- data/spec/functional/8000/en_8502_spec.rb +10 -13
- data/spec/functional/8000/en_8503_spec.rb +10 -13
- data/spec/functional/8000/en_8504_spec.rb +10 -13
- data/spec/functional/8000/en_8505_spec.rb +10 -13
- data/spec/functional/8000/en_8509_spec.rb +7 -10
- data/spec/functional/8000/en_8519_spec.rb +10 -13
- data/spec/functional/8000/en_8523_spec.rb +7 -10
- data/spec/functional/8000/en_8525_spec.rb +10 -13
- data/spec/functional/8000/en_8526_spec.rb +10 -13
- data/spec/functional/8000/en_8536_spec.rb +7 -10
- data/spec/functional/8000/en_8537_spec.rb +7 -10
- data/spec/functional/8000/en_8580_spec.rb +7 -10
- data/spec/functional/8000/en_8581_spec.rb +7 -10
- data/spec/functional/A/en_A107_spec.rb +9 -14
- data/spec/functional/B/en_B2185_spec.rb +7 -9
- data/spec/functional/B/en_B3010_spec.rb +7 -9
- data/spec/functional/B/en_B3076_spec.rb +7 -10
- data/spec/functional/B/en_B3080_spec.rb +7 -10
- data/spec/functional/B/en_B3081_spec.rb +7 -10
- data/spec/functional/B/en_B3200_spec.rb +7 -10
- data/spec/functional/B/en_B3225_spec.rb +7 -10
- data/spec/functional/B/en_B3226_spec.rb +7 -10
- data/spec/functional/B/en_B3227_spec.rb +7 -10
- data/spec/functional/B/en_B3251_spec.rb +7 -10
- data/spec/functional/B/en_B5011_spec.rb +7 -9
- data/spec/functional/B/en_B5013_spec.rb +7 -9
- data/spec/functional/B/en_B5014_spec.rb +7 -9
- data/spec/functional/B/en_B5016_spec.rb +7 -9
- data/spec/functional/D/en_D105N_spec.rb +16 -19
- data/spec/functional/D/en_D200_spec.rb +7 -10
- data/spec/functional/F/en_F031_spec.rb +11 -15
- data/spec/functional/G/en_G2001_spec.rb +8 -9
- data/spec/functional/G/en_G2514_spec.rb +9 -11
- data/spec/functional/G/en_G2516_spec.rb +9 -11
- data/spec/functional/G/en_G2602_spec.rb +8 -9
- data/spec/functional/G/en_G2603_spec.rb +10 -11
- data/spec/functional/L/en_L000_spec.rb +1 -1
- data/spec/functional/P/en_P213E_spec.rb +8 -11
- data/spec/functional/P/en_P213H_spec.rb +8 -11
- data/spec/functional/P/en_P213W_spec.rb +8 -11
- data/spec/functional/P/en_P400_spec.rb +5 -8
- data/spec/functional/T/en_T2000_spec.rb +9 -14
- data/spec/functional/V/en_V000_spec.rb +8 -10
- data/spec/functional/Y/en_Y000_spec.rb +10 -12
- data/spec/functional/experian_spec.rb +11 -14
- data/spec/spec_helper.rb +2 -2
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 954cc1d345077d4a184c42014095147a701c914d
|
4
|
+
data.tar.gz: a2877db3d8ace88a4e4d6a6780fe1444e98d9ce0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0289593204995382631f67c700c42f77e07ec208e6b7ba2685018a9f3174b8e48c0863409cfb946bd82323275b0ed6691cd1855314d1d64099d6ab97d8c8e96d
|
7
|
+
data.tar.gz: 84465ee45f3e19b0f5cdaf5b5726a14d430c5068ecc69b2ad783bfacf66a9f8e83df11e2371064ce943920ef7768a5eac4a58c52468ebab793703eb15eacfe21
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- 'Guardfile'
|
4
|
+
- 'Gemfile'
|
5
|
+
- 'Rakefile'
|
6
|
+
Documentation:
|
7
|
+
Enabled: false
|
8
|
+
Metrics/LineLength:
|
9
|
+
Max: 1600
|
10
|
+
Style/ClassAndModuleChildren:
|
11
|
+
Enabled: false
|
12
|
+
Metrics/ClassLength:
|
13
|
+
Max: 500
|
14
|
+
Metrics/ModuleLength:
|
15
|
+
Max: 600
|
16
|
+
Metrics/MethodLength:
|
17
|
+
Max: 250
|
18
|
+
Metrics/AbcSize:
|
19
|
+
Max: 85
|
20
|
+
Metrics/CyclomaticComplexity:
|
21
|
+
Max: 10
|
22
|
+
Metrics/ParameterLists:
|
23
|
+
Max: 6
|
24
|
+
Metrics/PerceivedComplexity:
|
25
|
+
Max: 11
|
26
|
+
Style/GuardClause:
|
27
|
+
Exclude:
|
28
|
+
- 'app/reports/donor_reports/donor_unit_report.rb'
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -1,32 +1,26 @@
|
|
1
1
|
require 'rspec/core/rake_task'
|
2
2
|
|
3
|
-
|
4
3
|
desc 'Default: run specs.'
|
5
|
-
task :
|
6
|
-
task :
|
4
|
+
task default: :spec
|
5
|
+
task test: :spec
|
7
6
|
|
8
|
-
desc
|
7
|
+
desc 'Run specs'
|
9
8
|
RSpec::Core::RakeTask.new do |t|
|
10
|
-
t.pattern =
|
9
|
+
t.pattern = './spec/**/*_spec.rb' # don't need this, it's default.
|
11
10
|
# Put spec opts in a file named .rspec in root
|
12
11
|
end
|
13
12
|
|
14
|
-
|
15
|
-
desc "Generate code coverage"
|
13
|
+
desc 'Generate code coverage'
|
16
14
|
RSpec::Core::RakeTask.new(:coverage) do |t|
|
17
|
-
t.pattern =
|
15
|
+
t.pattern = './spec/**/*_spec.rb' # don't need this, it's default.
|
18
16
|
t.rcov = true
|
19
17
|
t.rcov_opts = ['--exclude', 'spec']
|
20
18
|
end
|
21
19
|
|
22
|
-
|
23
|
-
|
24
20
|
namespace :docs do
|
25
|
-
|
26
21
|
desc 'Build the docs for the Experian Data Dictionary.'
|
27
22
|
task :build do
|
28
23
|
system('rm -rf doc')
|
29
24
|
system('yardoc --no-private --protected lib/**/*.rb')
|
30
25
|
end
|
31
|
-
|
32
|
-
end
|
26
|
+
end
|
@@ -1,11 +1,11 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
PROJECT_GEM = 'experian-data-dictionary'
|
3
|
-
PROJECT_GEM_VERSION = '1.4.
|
3
|
+
PROJECT_GEM_VERSION = '1.4.5'
|
4
4
|
|
5
5
|
s.name = PROJECT_GEM
|
6
6
|
s.version = PROJECT_GEM_VERSION
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
|
-
|
8
|
+
s.licenses = ['MIT']
|
9
9
|
s.homepage = 'https://github.com/blakecampbells/experian_data_dictionary'
|
10
10
|
s.rubyforge_project = 'Project on www.github.com'
|
11
11
|
s.authors = ['Blake Campbell']
|
@@ -16,6 +16,6 @@ Gem::Specification.new do |s|
|
|
16
16
|
|
17
17
|
s.files = `git ls-files`.split("\n").delete_if { |f| !(f =~ /^examples/).nil? }
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
-
s.require_paths = [
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
20
|
+
s.require_paths = ['lib']
|
21
21
|
end
|
@@ -1,6 +1,5 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0000_column_name
|
5
4
|
'Enhancement Mandatory Append'
|
6
5
|
end
|
@@ -9,7 +8,9 @@ module Experian
|
|
9
8
|
'The enrichment mandatory append is required when any data from the enrichment master file is appended. It consists of a match type.'
|
10
9
|
end
|
11
10
|
|
12
|
-
def self.en_0000_value_description(
|
11
|
+
def self.en_0000_value_description(_key)
|
12
|
+
''
|
13
|
+
end
|
13
14
|
|
14
15
|
def self.en_0000(key)
|
15
16
|
values = {
|
@@ -23,6 +24,5 @@ module Experian
|
|
23
24
|
}
|
24
25
|
key.empty? ? 'Non-match' : values[key]
|
25
26
|
end
|
26
|
-
|
27
27
|
end
|
28
28
|
end
|
@@ -1,6 +1,5 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0100_column_name
|
5
4
|
'Date of Birth'
|
6
5
|
end
|
@@ -14,12 +13,16 @@ module Experian
|
|
14
13
|
end
|
15
14
|
|
16
15
|
def self.en_0100c_description
|
17
|
-
|
16
|
+
en_0100_description
|
18
17
|
end
|
19
18
|
|
20
|
-
def self.en_0100_value_description(
|
21
|
-
|
19
|
+
def self.en_0100_value_description(_key)
|
20
|
+
''
|
21
|
+
end
|
22
22
|
|
23
|
+
def self.en_0100c_value_description(_key)
|
24
|
+
''
|
25
|
+
end
|
23
26
|
|
24
27
|
# CCYYMM
|
25
28
|
def self.en_0100(key)
|
@@ -29,21 +32,18 @@ module Experian
|
|
29
32
|
[month, year].compact.join('/')
|
30
33
|
end
|
31
34
|
|
32
|
-
|
33
35
|
def self.en_0100c(key)
|
34
36
|
if key[0].nil?
|
35
37
|
return 'Unknown age'
|
36
38
|
else
|
37
39
|
return nil unless %w(e i u).include?(key[0].to_s.downcase) # I noticed another 0100c column that uses M and F which is probably for Male and Female
|
38
40
|
text = case key[0].downcase
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
return [key[1..key.length-1], text].compact.join(' - ')
|
41
|
+
when 'e' then 'Exact age'
|
42
|
+
when 'i' then 'Estimated age'
|
43
|
+
when 'u' then 'Unknown age'
|
44
|
+
end
|
45
|
+
return [key[1..key.length - 1], text].compact.join(' - ')
|
45
46
|
end
|
46
47
|
end
|
47
|
-
|
48
48
|
end
|
49
49
|
end
|
@@ -1,6 +1,5 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0103_column_name
|
5
4
|
'Gender Code'
|
6
5
|
end
|
@@ -9,7 +8,9 @@ module Experian
|
|
9
8
|
'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.'
|
10
9
|
end
|
11
10
|
|
12
|
-
def self.en_0103_value_description(
|
11
|
+
def self.en_0103_value_description(_key)
|
12
|
+
''
|
13
|
+
end
|
13
14
|
|
14
15
|
def self.en_0103(key)
|
15
16
|
values = {
|
@@ -1,6 +1,5 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0107a_column_name
|
5
4
|
'Marital Status'
|
6
5
|
end
|
@@ -9,7 +8,9 @@ module Experian
|
|
9
8
|
'Marital status is determined based on the composition of the Living unit or through the application of a predictive model. Note: Single refers to an individual that has never married and not single because of divorce or spouse\'s death.'
|
10
9
|
end
|
11
10
|
|
12
|
-
def self.en_0107a_value_description(
|
11
|
+
def self.en_0107a_value_description(_key)
|
12
|
+
''
|
13
|
+
end
|
13
14
|
|
14
15
|
def self.en_0107a(key)
|
15
16
|
likely = {
|
@@ -22,7 +23,7 @@ module Experian
|
|
22
23
|
'S' => 'Single',
|
23
24
|
'U' => 'Unknown Status'
|
24
25
|
}
|
25
|
-
return 'Unknown' if key.size != 2
|
26
|
+
return 'Unknown' if key.size != 2 || marital_status[key[1]].nil? || likely[key[0]].nil?
|
26
27
|
[marital_status[key[1]], likely[key[0]]].join(' - ')
|
27
28
|
end
|
28
29
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Country of Origin
|
5
4
|
def self.en_0108c_column_name
|
6
5
|
'Country of Origin'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_0108c_value_description(
|
10
|
-
|
8
|
+
def self.en_0108c_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
11
11
|
|
12
12
|
def self.en_0108c_description
|
13
13
|
'Indicates Country of Origin using a sophisticated program that analyzes first name, last name, expert system rules and geography.'
|
@@ -18,7 +18,9 @@ module Experian
|
|
18
18
|
'Ethnicity Detail'
|
19
19
|
end
|
20
20
|
|
21
|
-
def self.en_0108d_value_description(
|
21
|
+
def self.en_0108d_value_description(_key)
|
22
|
+
''
|
23
|
+
end
|
22
24
|
|
23
25
|
def self.en_0108d_description
|
24
26
|
'Indicates the likely ethnicity using a sophisticated program that analyzes first name, last name, expert system rules and geography.'
|
@@ -29,7 +31,9 @@ module Experian
|
|
29
31
|
'Ethnic Insight'
|
30
32
|
end
|
31
33
|
|
32
|
-
def self.en_0108e_value_description(
|
34
|
+
def self.en_0108e_value_description(_key)
|
35
|
+
''
|
36
|
+
end
|
33
37
|
|
34
38
|
def self.en_0108e_description
|
35
39
|
'Ethnic Insight Elements. Ethnic Insight is a comprehensive predictive name analysis process which identifies ethnic origin, probable religion, and the language preference of individuals. Experian can now code and identify 177 ethnicities, 33 groups, 10 religions, 79 language groups and 22 Country of Origin codes.The Ethnic Insight software utilizes over 550,000 surnames by ethnicity, over 75,000 first names unique to a given ethnicity, and over 3000 expert system rules. Also utilized are a group of geographic reference tables for determining the proper codes to apply to an individual. Each record passed through the process uses the above files as references while examining the individuals first name, last names, and the zip code of the record. Note: Element 0108E calls elements 0108C, 0108D, 0108G, 0108L, 0108R, 0108T'
|
@@ -40,7 +44,9 @@ module Experian
|
|
40
44
|
'Ethnic Group Code'
|
41
45
|
end
|
42
46
|
|
43
|
-
def self.en_0108g_value_description(
|
47
|
+
def self.en_0108g_value_description(_key)
|
48
|
+
''
|
49
|
+
end
|
44
50
|
|
45
51
|
def self.en_0108g_description
|
46
52
|
'Experian derived code that groups ethnicities in general categories.'
|
@@ -51,7 +57,9 @@ module Experian
|
|
51
57
|
'Language'
|
52
58
|
end
|
53
59
|
|
54
|
-
def self.en_0108l_value_description(
|
60
|
+
def self.en_0108l_value_description(_key)
|
61
|
+
''
|
62
|
+
end
|
55
63
|
|
56
64
|
def self.en_0108l_description
|
57
65
|
'Ethnic Insight Language indicates the language preference.'
|
@@ -62,7 +70,9 @@ module Experian
|
|
62
70
|
'Religion'
|
63
71
|
end
|
64
72
|
|
65
|
-
def self.en_0108r_value_description(
|
73
|
+
def self.en_0108r_value_description(_key)
|
74
|
+
''
|
75
|
+
end
|
66
76
|
|
67
77
|
def self.en_0108r_description
|
68
78
|
'Ethnic Insights Religion indicates the likely religion.'
|
@@ -73,7 +83,9 @@ module Experian
|
|
73
83
|
'e-Tech Group'
|
74
84
|
end
|
75
85
|
|
76
|
-
def self.en_0108t_value_description(
|
86
|
+
def self.en_0108t_value_description(_key)
|
87
|
+
''
|
88
|
+
end
|
77
89
|
|
78
90
|
def self.en_0108t_description
|
79
91
|
'e-Tech derived code that groups ethnicities in general categories.'
|
@@ -461,7 +473,7 @@ module Experian
|
|
461
473
|
'O' => 'Eastern Orthodox',
|
462
474
|
'P' => 'Protestant',
|
463
475
|
'S' => 'Shinto',
|
464
|
-
'X' => 'Not Known or Unmatched'
|
476
|
+
'X' => 'Not Known or Unmatched'
|
465
477
|
}
|
466
478
|
key.empty? ? 'Unknown' : values[key]
|
467
479
|
end
|
@@ -487,6 +499,5 @@ module Experian
|
|
487
499
|
}
|
488
500
|
key.empty? ? 'Unknown' : values[key]
|
489
501
|
end
|
490
|
-
|
491
502
|
end
|
492
503
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0110p_column_name
|
5
4
|
'Person Type'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0110p_value_description(
|
7
|
+
def self.en_0110p_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0110p_description
|
11
12
|
'Assignment of person type in the living unit based on age and activity.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0112_column_name
|
5
4
|
'Deceased Indicator'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0112_value_description(
|
7
|
+
def self.en_0112_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0112_description
|
11
12
|
'Deceased Indicator identifies client input records that Experian believes are deceased individuals. This information is sourced primarily from Social Security records and other proprietary sources, as well as consumers who may have contacted Experian directly. The deceased indicator communicates that we have reason to believe that the individual is deceased based on this source information.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0113a_column_name
|
5
4
|
'Combined Homeowner'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0113a_value_description(
|
7
|
+
def self.en_0113a_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0113a_description
|
11
12
|
'Combined homeowner is a mixture of several data elements / fields. This element provides these separate data components in a single position. Homeowner information indicates the likelihood of a consumer owning a home, and is received from tax assessor and deed information. For records where exact Homeownership information is not available, homeownership propensity is calculated using a proprietary statistical model which predicts the likelihood of homeownership. Renter status is derived from self reported data. Unit numbers are not used to infer rented status because units may be owner condominium/coop. Probable Renter is calculated using an algorithm based on lack of Homeowner, the Address Type, and Census Percent Renter.'
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Dwelling Type
|
5
4
|
def self.en_0118_column_name
|
6
5
|
'Dwelling Type'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_0118_value_description(
|
8
|
+
def self.en_0118_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_0118_description
|
12
13
|
'Each household is assigned a dwelling type code based on United States Postal Service (USPS) information. Single Family Dwelling Units are residences for one family or living unit (S). If the address contains an apartment number or has a small dwelling size (5 units or less), the code is set to Multi-Family (A). Marginal Multi Family Dwelling Units lack an apartment number and are considered of questionable deliverability (M). Values also include P.O. Boxes (P) and Unknown dwelling types (U).'
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Length Of Residence
|
5
4
|
def self.en_0119_column_name
|
6
5
|
'Length Of Residence'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_0119_value_description(
|
8
|
+
def self.en_0119_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_0119_description
|
12
13
|
'Length of Residence (LOR) is the length of time a Living Unit has resided at their current address. A primary source of LOR is public source white page compilation initiating a counter showing the first time a name and number appear in the directory. LOR information is also received from proprietary sources and through updates of our source files against the USPS National Change of Address* file. For all sources, LOR data is aged over time.\n\nWhen there is insufficient data to match a customer\'s record to our Enrichment master for Length of Residence, a median LOR based on the LOR\'s assigned to other living units in the same ZIP+4 area is used. In the rare case that the ZIP+4 is not on the record, median LOR is based on the LOR\'s assigned to other records in that ZIP region.\n\nThe median level data applied to records for this element can be identified through the Enrichment Mandatory Append - Total Enrichment Match Type indicator (E).'
|
@@ -14,8 +15,7 @@ module Experian
|
|
14
15
|
|
15
16
|
def self.en_0119(key)
|
16
17
|
return nil unless /[0-9]+/ =~ key
|
17
|
-
key.to_i == 0
|
18
|
+
key.to_i == 0 ? 'Less than a year' : [key.to_i, 'years'].join(' ')
|
18
19
|
end
|
19
|
-
|
20
20
|
end
|
21
21
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0130_column_name
|
5
4
|
'Direct Mail Responder - Individual Level'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0130_value_description(
|
7
|
+
def self.en_0130_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0130_description
|
11
12
|
'Direct Mail Responder information identifies consumers who have purchased by direct mail. Data is carried at the individual level. If one member of a household is a direct mail responder, that member will be coded as a direct mail responder at the individual level.'
|