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
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Buys By TV & Buys By TV Propensity, Self reported data
|
5
4
|
def self.en_8532_column_name
|
6
5
|
'Buys By TV & Buys By TV Propensity, Self reported data'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_8532_value_description(
|
8
|
+
def self.en_8532_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_8532_description
|
12
13
|
'Z buys by TV & buys by TV propensities indicates a household has self reported to purchase via television. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self-reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -17,7 +18,9 @@ module Experian
|
|
17
18
|
'Buys By TV & Buys By TV Propensity, Quick Predict Code'
|
18
19
|
end
|
19
20
|
|
20
|
-
def self.en_8532p_value_description(
|
21
|
+
def self.en_8532p_value_description(_key)
|
22
|
+
''
|
23
|
+
end
|
21
24
|
|
22
25
|
def self.en_8532p_description
|
23
26
|
'Z buys by TV & buys by TV propensities indicates a household has self reported to purchase via television. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self-reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -38,15 +41,14 @@ module Experian
|
|
38
41
|
'7' => 'Very Unlikely to purchase via television',
|
39
42
|
'8' => 'Highly Unlikely to purchase via television',
|
40
43
|
'9' => 'Extremely Unlikely to purchase via television',
|
41
|
-
'0' => 'Unknown / Not Attempted'
|
44
|
+
'0' => 'Unknown / Not Attempted'
|
42
45
|
}
|
43
|
-
return 'Unknown' if key.size != 2
|
46
|
+
return 'Unknown' if key.size != 2 || code[key[1]].nil? || charity[key[0]].nil?
|
44
47
|
[code[key[1]], charity[key[0]]].join(' - ')
|
45
48
|
end
|
46
49
|
|
47
50
|
def self.en_8532p(key)
|
48
51
|
Experian::DataDictionary.en_8532(key)
|
49
52
|
end
|
50
|
-
|
51
53
|
end
|
52
54
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8533_column_name
|
5
4
|
'Mailorder Multibuyer & MO Multi Prop, Self reported data'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8533_value_description(
|
7
|
+
def self.en_8533_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8533_description
|
11
12
|
'Mailorder Multibuyer & MO Multi Prop, Self reported data'
|
@@ -15,10 +16,12 @@ module Experian
|
|
15
16
|
'Mailorder Multibuyer & MO Multi Prop, Quick Predict Code'
|
16
17
|
end
|
17
18
|
|
18
|
-
def self.en_8533p_value_description(
|
19
|
+
def self.en_8533p_value_description(_key)
|
20
|
+
''
|
21
|
+
end
|
19
22
|
|
20
23
|
def self.en_8533p_description
|
21
|
-
|
24
|
+
en_8533_description
|
22
25
|
end
|
23
26
|
|
24
27
|
# CCYYMM
|
@@ -35,17 +38,15 @@ module Experian
|
|
35
38
|
'7' => 'Very Unlikely mail order multibuyer',
|
36
39
|
'8' => 'Highly Unlikely mail order multibuyer',
|
37
40
|
'9' => 'Extremely Unlikely mail order multibuyer',
|
38
|
-
'0' => 'Unknown / Not Attempted'
|
41
|
+
'0' => 'Unknown / Not Attempted'
|
39
42
|
}
|
40
|
-
return nil if key.empty?
|
43
|
+
return nil if key.empty? || key.length != 2
|
41
44
|
key.split('').collect { |k| values[k] }.compact.join(' - ')
|
42
45
|
end
|
43
46
|
|
44
|
-
|
45
47
|
def self.en_8533p(key)
|
46
48
|
return nil unless %w(E I U M F).include?(key[0]) # I noticed another 0100c column that uses M and F which is probably for Male and Female
|
47
|
-
|
49
|
+
key[1..key.length - 1]
|
48
50
|
end
|
49
|
-
|
50
51
|
end
|
51
52
|
end
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Dogs & Dogs Propensity, Self reported data
|
5
4
|
def self.en_8536_column_name
|
6
5
|
'Dogs & Dogs Propensity, Self reported data'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_8536_value_description(
|
8
|
+
def self.en_8536_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_8536_description
|
12
13
|
'Z dogs & dogs propensities indicates a household has self reported as dog enthusiasts. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self- reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -17,7 +18,9 @@ module Experian
|
|
17
18
|
'Dogs & Dogs Propensity, Quick Predict Code'
|
18
19
|
end
|
19
20
|
|
20
|
-
def self.en_8536p_value_description(
|
21
|
+
def self.en_8536p_value_description(_key)
|
22
|
+
''
|
23
|
+
end
|
21
24
|
|
22
25
|
def self.en_8536p_description
|
23
26
|
'Z dogs & dogs propensities indicates a household has self reported as dog enthusiasts. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self- reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -38,15 +41,14 @@ module Experian
|
|
38
41
|
'7' => 'Very Unlikely dog enthusiast',
|
39
42
|
'8' => 'Highly Unlikely dog enthusiast',
|
40
43
|
'9' => 'Extremely Unlikely dog enthusiast',
|
41
|
-
'0' => 'Unknown / Not Attempted'
|
44
|
+
'0' => 'Unknown / Not Attempted'
|
42
45
|
}
|
43
|
-
return 'Unknown' if key.size != 2
|
46
|
+
return 'Unknown' if key.size != 2 || code[key[1]].nil? || charity[key[0]].nil?
|
44
47
|
[charity[key[0]], code[key[1]]].join(' - ')
|
45
48
|
end
|
46
49
|
|
47
50
|
def self.en_8536p(key)
|
48
51
|
Experian::DataDictionary.en_8536(key)
|
49
52
|
end
|
50
|
-
|
51
53
|
end
|
52
54
|
end
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Cats & Cats Propensity, Self reported data
|
5
4
|
def self.en_8537_column_name
|
6
5
|
'Cats & Cats Propensity, Self reported data'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_8537_value_description(
|
8
|
+
def self.en_8537_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_8537_description
|
12
13
|
'Z cats & cats propensities indicates a household has self reported as cat enthusiasts. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self- reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -17,7 +18,9 @@ module Experian
|
|
17
18
|
'Cats & Cats Propensity, Quick Predict Code'
|
18
19
|
end
|
19
20
|
|
20
|
-
def self.en_8537p_value_description(
|
21
|
+
def self.en_8537p_value_description(_key)
|
22
|
+
''
|
23
|
+
end
|
21
24
|
|
22
25
|
def self.en_8537p_description
|
23
26
|
'Z cats & cats propensities indicates a household has self reported as cat enthusiasts. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self- reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -38,15 +41,14 @@ module Experian
|
|
38
41
|
'7' => 'Very Unlikely cat enthusiast',
|
39
42
|
'8' => 'Highly Unlikely cat enthusiast',
|
40
43
|
'9' => 'Extremely Unlikely cat enthusiast',
|
41
|
-
'0' => 'Unknown / Not Attempted'
|
44
|
+
'0' => 'Unknown / Not Attempted'
|
42
45
|
}
|
43
|
-
return 'Unknown' if key.size != 2
|
46
|
+
return 'Unknown' if key.size != 2 || code[key[1]].nil? || charity[key[0]].nil?
|
44
47
|
[charity[key[0]], code[key[1]]].join(' - ')
|
45
48
|
end
|
46
49
|
|
47
50
|
def self.en_8537p(key)
|
48
51
|
Experian::DataDictionary.en_8537(key)
|
49
52
|
end
|
50
|
-
|
51
53
|
end
|
52
54
|
end
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Health & Health Propensity, Self reported data
|
5
4
|
def self.en_8538_column_name
|
6
5
|
'Health & Health Propensity, Self reported data'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_8538_value_description(
|
8
|
+
def self.en_8538_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_8538_description
|
12
13
|
'Z health & health propensities indicates a household\'s self reported interest in healthy living. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self-reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -17,7 +18,9 @@ module Experian
|
|
17
18
|
'Health & Health Propensity, Quick Predict Code'
|
18
19
|
end
|
19
20
|
|
20
|
-
def self.en_8538p_value_description(
|
21
|
+
def self.en_8538p_value_description(_key)
|
22
|
+
''
|
23
|
+
end
|
21
24
|
|
22
25
|
def self.en_8538p_description
|
23
26
|
'Z health & health propensities indicates a household\'s self reported interest in healthy living. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self-reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -38,15 +41,14 @@ module Experian
|
|
38
41
|
'7' => 'Very Unlikely interest in healthy living',
|
39
42
|
'8' => 'Highly Unlikely interest in healthy living',
|
40
43
|
'9' => 'Extremely Unlikely interest in healthy living',
|
41
|
-
'0' => 'Unknown / Not Attempted'
|
44
|
+
'0' => 'Unknown / Not Attempted'
|
42
45
|
}
|
43
|
-
return 'Unknown' if key.size != 2
|
46
|
+
return 'Unknown' if key.size != 2 || code[key[1]].nil? || charity[key[0]].nil?
|
44
47
|
[code[key[1]], charity[key[0]]].join(' - ')
|
45
48
|
end
|
46
49
|
|
47
50
|
def self.en_8538p(key)
|
48
51
|
Experian::DataDictionary.en_8538(key)
|
49
52
|
end
|
50
|
-
|
51
53
|
end
|
52
54
|
end
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Volunteer & Volunteer Propensity, Self reported data
|
5
4
|
def self.en_8574_column_name
|
6
5
|
'Volunteer & Volunteer Propensity, Self reported data'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_8574_value_description(
|
8
|
+
def self.en_8574_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_8574_description
|
12
13
|
'Z Volunteer & Volunteer Propensity indicates a household\'s self-reported behavior to be a Volunteer. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self-reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -17,7 +18,9 @@ module Experian
|
|
17
18
|
'Volunteer & Volunteer Propensity, Quick Predict Code'
|
18
19
|
end
|
19
20
|
|
20
|
-
def self.en_8574p_value_description(
|
21
|
+
def self.en_8574p_value_description(_key)
|
22
|
+
''
|
23
|
+
end
|
21
24
|
|
22
25
|
def self.en_8574p_description
|
23
26
|
'Z Volunteer & Volunteer Propensity indicates a household\'s self-reported behavior to be a Volunteer. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self-reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -38,15 +41,14 @@ module Experian
|
|
38
41
|
'7' => 'Very Unlikely to be a Volunteer',
|
39
42
|
'8' => 'Highly Unlikely to be a Volunteer',
|
40
43
|
'9' => 'Extremely Unlikely to be a Volunteer',
|
41
|
-
'0' => 'Unknown / Not Attempted'
|
44
|
+
'0' => 'Unknown / Not Attempted'
|
42
45
|
}
|
43
|
-
return 'Unknown' if key.size != 2
|
46
|
+
return 'Unknown' if key.size != 2 || code[key[1]].nil? || charity[key[0]].nil?
|
44
47
|
[code[key[1]], charity[key[0]]].join(' - ')
|
45
48
|
end
|
46
49
|
|
47
50
|
def self.en_8574p(key)
|
48
51
|
Experian::DataDictionary.en_8574(key)
|
49
52
|
end
|
50
|
-
|
51
53
|
end
|
52
54
|
end
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Z Active Military & Active Military Prop, Self reported data
|
5
4
|
def self.en_8580_column_name
|
6
5
|
'Z Active Military & Active Military Prop, Self reported data'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_8580_value_description(
|
8
|
+
def self.en_8580_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_8580_description
|
12
13
|
'Z Active Military indicates a household has self reported as being Active Military. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self- reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -17,7 +18,9 @@ module Experian
|
|
17
18
|
'Z Active Military & Active Military Prop, Quick Predict Code'
|
18
19
|
end
|
19
20
|
|
20
|
-
def self.en_8580p_value_description(
|
21
|
+
def self.en_8580p_value_description(_key)
|
22
|
+
''
|
23
|
+
end
|
21
24
|
|
22
25
|
def self.en_8580p_description
|
23
26
|
'Z Active Military indicates a household has self reported as being Active Military. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self- reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -38,15 +41,14 @@ module Experian
|
|
38
41
|
'7' => 'Very Unlikely Active Military',
|
39
42
|
'8' => 'Highly Unlikely Active Military',
|
40
43
|
'9' => 'Extremely Unlikely Active Military',
|
41
|
-
'0' => 'Unknown / Not Attempted'
|
44
|
+
'0' => 'Unknown / Not Attempted'
|
42
45
|
}
|
43
|
-
return 'Unknown' if key.size != 2
|
46
|
+
return 'Unknown' if key.size != 2 || code[key[1]].nil? || charity[key[0]].nil?
|
44
47
|
[charity[key[0]], code[key[1]]].join(' - ')
|
45
48
|
end
|
46
49
|
|
47
50
|
def self.en_8580p(key)
|
48
51
|
Experian::DataDictionary.en_8580(key)
|
49
52
|
end
|
50
|
-
|
51
53
|
end
|
52
54
|
end
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Z Inactive Military & Inactive Military Prop, Self reported data
|
5
4
|
def self.en_8581_column_name
|
6
5
|
'Z Inactive Military & Inact Military Prop, Self reported data'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_8581_value_description(
|
8
|
+
def self.en_8581_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_8581_description
|
12
13
|
'Z Inactive Military indicates a household has self reported as being Inactive Military. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self- reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -17,7 +18,9 @@ module Experian
|
|
17
18
|
'Z Inactive Military & Inact Military Prop, Quick Predict Code'
|
18
19
|
end
|
19
20
|
|
20
|
-
def self.en_8581p_value_description(
|
21
|
+
def self.en_8581p_value_description(_key)
|
22
|
+
''
|
23
|
+
end
|
21
24
|
|
22
25
|
def self.en_8581p_description
|
23
26
|
'Z Inactive Military indicates a household has self reported as being Inactive Military. BehaviorBank Household Indicators groups similar self-reported elements into slightly broader categories. Propensities are created with sophisticated analytical models based solely on self-reported data to predict households that are likely to exhibit the same behaviors. We supplement Behavior Bank Indicators with propensities for those records where self- reported data is not available to maximize coverage and response. The propensity codes rank living units from 1 to 9 using individual, living unit and area level demographics. Field values beginning with 1 indicate the strongest probability.'
|
@@ -38,15 +41,14 @@ module Experian
|
|
38
41
|
'7' => 'Very Unlikely Inactive Military',
|
39
42
|
'8' => 'Highly Unlikely Inactive Military',
|
40
43
|
'9' => 'Extremely Unlikely Inactive Military',
|
41
|
-
'0' => 'Unknown / Not Attempted'
|
44
|
+
'0' => 'Unknown / Not Attempted'
|
42
45
|
}
|
43
|
-
return 'Unknown' if key.size != 2
|
46
|
+
return 'Unknown' if key.size != 2 || code[key[1]].nil? || charity[key[0]].nil?
|
44
47
|
[charity[key[0]], code[key[1]]].join(' - ')
|
45
48
|
end
|
46
49
|
|
47
50
|
def self.en_8581p(key)
|
48
51
|
Experian::DataDictionary.en_8581(key)
|
49
52
|
end
|
50
|
-
|
51
53
|
end
|
52
54
|
end
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Luxury Car - Domestic
|
5
4
|
def self.en_a107_column_name
|
6
5
|
'Luxury Car - Domestic'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_a107_value_description(
|
8
|
+
def self.en_a107_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_a107_description
|
12
13
|
'Auto Purchase Model Luxury Car Domestic Auto Purchase Model Luxury Car Domestic is an Experian model which predicts the likelihood that a living unit will purchase this type of vehicle in the next 6 months. Auto Purchase Models rank living units from 1 to 9 for each auto category using living unit and area level demographics. Field values beginning with 1 indicate the strongest probability. Vehicles examples in the Luxury Car Domestic category include: Cadillac CTS, Cadillac DeVille, Cadillac DTS, Cadillac STS, Lincoln MKS, Lincoln MKZ, and Lincoln Town Car'
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Behavior Bank Mandatory Append
|
5
4
|
def self.en_b000_column_name
|
6
5
|
'Behavior Bank Mandatory Append'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_b000_value_description(
|
8
|
+
def self.en_b000_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_b000_description
|
12
13
|
'The Behavior Bank mandatory append is required when any data from the Behavior Bank master file is appended. It consists of a match code.'
|
@@ -15,12 +16,11 @@ module Experian
|
|
15
16
|
def self.en_b000(key)
|
16
17
|
if key.size != 4
|
17
18
|
return 'Non-match'
|
18
|
-
elsif
|
19
|
+
elsif key.eql?('H') || key.eql?('F')
|
19
20
|
return 'Household Match'
|
20
|
-
elsif
|
21
|
+
elsif key.eql?('P') || key.eql?('I')
|
21
22
|
return 'Person Match'
|
22
23
|
end
|
23
24
|
end
|
24
|
-
|
25
25
|
end
|
26
26
|
end
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Crafts: Crafts
|
5
4
|
def self.en_b2185_column_name
|
6
5
|
'Crafts: Crafts'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_b2185_value_description(
|
8
|
+
def self.en_b2185_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_b2185_description
|
12
13
|
'Activities and Interests/Crafts. Direct reported survey data that represents a household\'s interest in Crafts.'
|
@@ -1,12 +1,13 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
# Lifestyle: Enjoys Smoking Cigars
|
5
4
|
def self.en_b3010_column_name
|
6
5
|
'Lifestyle: Enjoys Smoking Cigars'
|
7
6
|
end
|
8
7
|
|
9
|
-
def self.en_b3010_value_description(
|
8
|
+
def self.en_b3010_value_description(_key)
|
9
|
+
''
|
10
|
+
end
|
10
11
|
|
11
12
|
def self.en_b3010_description
|
12
13
|
'Lifestyles/Cigar Smoking. Direct reported survey data that represents household\'s that Enjoys Smoking Cigars.'
|