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,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0162_column_name
|
5
4
|
'Individual Education'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0162_value_description(
|
7
|
+
def self.en_0162_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0162_description
|
11
12
|
'Information is compiled from self-reported surveys, derived based on occupational information, or calculated through the application of predictive models.'
|
@@ -23,9 +24,8 @@ module Experian
|
|
23
24
|
'4' => 'Graduate Degree',
|
24
25
|
'5' => 'Less Than High School Diploma'
|
25
26
|
}
|
26
|
-
return 'Unknown' if key.size != 2
|
27
|
+
return 'Unknown' if key.size != 2 || education[key[1]].nil? || likely[key[0]].nil?
|
27
28
|
[education[key[1]], likely[key[0]]].join(' - ')
|
28
29
|
end
|
29
|
-
|
30
30
|
end
|
31
31
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0164_column_name
|
5
4
|
'Political Persona'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0164_value_description(
|
7
|
+
def self.en_0164_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0164_description
|
11
12
|
'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.'
|
@@ -28,6 +29,5 @@ module Experian
|
|
28
29
|
return 'Unknown' unless (0..10) === key.to_i
|
29
30
|
political[key.to_i]
|
30
31
|
end
|
31
|
-
|
32
32
|
end
|
33
33
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0174_column_name
|
5
4
|
'Presence of Children Age Ranges'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0174_value_description(
|
7
|
+
def self.en_0174_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0174_description
|
11
12
|
'Known & Inferred Children\'s Age Ranges are a combination of known children\'s age ranges, and where not available, an Experian model which predicts the likelihood that a child within the age group is present in the living unit. When there is insufficient data to match a customer record to our Enrichment master for Inferred Children\'s Age Range, a median Inferred Children\'s Age Range based on the Known & Inferred Children\'s Age Ranges 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 Children\'s Age Range is based on the Known & Inferred children\'s age ranges assigned to other records in that ZIP region. The median level data applied to records for this element can be identified through the Enrichment Mandatory Append - Total Enrichment Match Type indicator (G).'
|
@@ -21,6 +22,5 @@ module Experian
|
|
21
22
|
}
|
22
23
|
key.empty? ? 'Unknown' : values[key]
|
23
24
|
end
|
24
|
-
|
25
25
|
end
|
26
26
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0177_column_name
|
5
4
|
'Presence of Children 0-18'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0177_value_description(
|
7
|
+
def self.en_0177_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0177_description
|
11
12
|
'Presence of Children in Household identifies households with children. A child is 0 to 18 years old. This field is sourced from birth records, newspaper birth announcements and proprietary sources. This field is comprised of known and inferred data. When there is insufficient data to match a customer\'s record to our Enrichment master for Presence of Children, a median Presence of Children based on the Presence of Children scores 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 Presence of Children is based on the Presence of Children scores assigned to other records in that ZIP region. The median level data applied to records for this element can be identified through the Enrichment Mandatory Append - Total Enrichment Match Type indicator (4).'
|
@@ -20,6 +21,5 @@ module Experian
|
|
20
21
|
}
|
21
22
|
key.empty? ? 'Unknown' : values[key]
|
22
23
|
end
|
23
|
-
|
24
24
|
end
|
25
25
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0601_column_name
|
5
4
|
'Estimated Current Home Value'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0601_value_description(
|
7
|
+
def self.en_0601_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0601_description
|
11
12
|
'Estimated Current Home Value is Experian\'s proprietary model that predicts the current home value. The ECHV model uses county, state and national trends in home sale prices and assessed home values to determine property appreciation rates and current home values. Data was examined at county level and the model inputs, such as sale price, sale year or assessed price of the property that were acquired from realty deed records and county tax assessor records.'
|
@@ -13,7 +14,7 @@ module Experian
|
|
13
14
|
|
14
15
|
def self.en_0601(key)
|
15
16
|
return nil unless /[0-9]+/ =~ key
|
16
|
-
key.gsub(/[^0-9]/,'').to_i
|
17
|
+
key.gsub(/[^0-9]/, '').to_i
|
17
18
|
end
|
18
19
|
end
|
19
20
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0711_column_name
|
5
4
|
'Estimated Available Equity Ranges'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0711_value_description(
|
7
|
+
def self.en_0711_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0711_description
|
11
12
|
'The Estimated Available Equity model is Experian\'s proprietary model designed to accurately predict equity in the home for Homeowner records. The value of equity equals the estimated current home value minus the remaining principal of the mortgage loan. The model inputs, such as sale price, sale date and mortgage amount of the property were acquired from realty deed records from the county court house.'
|
@@ -37,9 +38,8 @@ module Experian
|
|
37
38
|
'P' => '1,000,000 - +',
|
38
39
|
'U' => 'Unknown'
|
39
40
|
}
|
40
|
-
return 'Unknown' if key.size != 2
|
41
|
+
return 'Unknown' if key.size != 2 || confidence[key[0]].nil? || values[key[1]].nil?
|
41
42
|
[values[key[1]], confidence[key[0]]].join(' - ')
|
42
43
|
end
|
43
|
-
|
44
44
|
end
|
45
45
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0715_column_name
|
5
4
|
'Estimated Current Loan-to-Value Ratio Ranges'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0715_value_description(
|
7
|
+
def self.en_0715_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0715_description
|
11
12
|
'Estimated Current Loan to Value Ratio is a percentage of the current estimated mortgage amount divided by the estimated current market value of the home. The higher the ratio, the less equity the homeowner has on the house. This ratio is available on wherever the loan amount and estimated current home value are available.'
|
@@ -18,10 +19,8 @@ module Experian
|
|
18
19
|
'3' => 'Likely'
|
19
20
|
}
|
20
21
|
|
21
|
-
|
22
|
-
return 'Unknown' if key.size != 4 or confidence[key[0]].nil? or key[1...4].to_i.nil? or key[1...4].to_i > 125
|
22
|
+
return 'Unknown' if key.size != 4 || confidence[key[0]].nil? || key[1...4].to_i.nil? || key[1...4].to_i > 125
|
23
23
|
[key[1...4].to_i, confidence[key[0]]].join(' - ')
|
24
24
|
end
|
25
|
-
|
26
25
|
end
|
27
26
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0716_column_name
|
5
4
|
'Estimated Current Monthly Mortgage Payment Ranges'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0716_value_description(
|
7
|
+
def self.en_0716_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0716_description
|
11
12
|
'The Estimated Current Monthly Mortgage Payment model is a subset of the Experian Equity model and predicts the monthly home payment. Input variables; such as Sale Date, Mortgage Amount and Interest Rate acquired from realty deed records from the county court house are utilized.'
|
@@ -34,9 +35,8 @@ module Experian
|
|
34
35
|
'N' => '2000+',
|
35
36
|
'U' => 'Unknown'
|
36
37
|
}
|
37
|
-
return 'Unknown' if key.size != 2
|
38
|
+
return 'Unknown' if key.size != 2 || confidence[key[0]].nil? || key[1].nil? || values[key[1]] == 'Unknown'
|
38
39
|
[values[key[1]], confidence[key[0]]].join(' - ')
|
39
40
|
end
|
40
|
-
|
41
41
|
end
|
42
42
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_0717_column_name
|
5
4
|
'Estimated Current Mortgage Amount Ranges'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_0717_value_description(
|
7
|
+
def self.en_0717_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_0717_description
|
11
12
|
'Estimated Current Mortgage Amount model predicts the amount currently remaining on the primary mortgage. It projects the amount owed on the mortgage by using the original mortgage amount or refinance amount; even where known mortgage data is not available. When data is not available from deed records, ECMA is calculated based on a combination of real estate data including estimated current home value and other ConsumerView variables such as demographics, summarized credit and auto data, and census. A confidence level of Likely is applied when the known data is not available.'
|
@@ -38,9 +39,8 @@ module Experian
|
|
38
39
|
'U' => 'Unknown'
|
39
40
|
}
|
40
41
|
|
41
|
-
return 'Unknown' if key.size != 2
|
42
|
+
return 'Unknown' if key.size != 2 || confidence[key[0]].nil? || values[key[1]].nil?
|
42
43
|
[values[key[1]], confidence[key[0]]].join(' - ')
|
43
44
|
end
|
44
|
-
|
45
45
|
end
|
46
46
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_310m_column_name
|
5
4
|
'MOSAIC Z4'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_310m_value_description(
|
7
|
+
def self.en_310m_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_310m_description
|
11
12
|
'Mosaic Z4 is a geodemographic level classification system developed by Experian. Mosaic Types identify 60 Types and 12 Groups based on consumer behaviors, lifestyles and attitudes. Detailed definitions available upon request.'
|
@@ -76,6 +77,5 @@ module Experian
|
|
76
77
|
}
|
77
78
|
key.empty? ? 'Unknown' : values[key]
|
78
79
|
end
|
79
|
-
|
80
80
|
end
|
81
81
|
end
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8102_column_name
|
5
4
|
'ZDonor'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8102_value_description(
|
7
|
+
def self.en_8102_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8102_description
|
11
12
|
'ZDonor indicates a household self reported they contribute to charities. BehaviorBank® Household Indicators groups similar self-reported elements into slightly broader categories'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8103_column_name
|
5
4
|
'ZPets'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8103_value_description(
|
7
|
+
def self.en_8103_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8103_description
|
11
12
|
'ZPets indicates a household has self reported being a pet enthusiast. BehaviorBank® Household Indicators groups similar self-reported elements into slightly broader categories.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8109_column_name
|
5
4
|
'ZInvestor'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8109_value_description(
|
7
|
+
def self.en_8109_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8109_description
|
11
12
|
'Zinvestor indicates a household\'s has self reported an interest in investing. BehaviorBank® Household Indicators groups similar self-reported elements into slightly broader categories.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8123_column_name
|
5
4
|
'ZDo-It-Yourselfer'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8123_value_description(
|
7
|
+
def self.en_8123_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8123_description
|
11
12
|
'ZDo-it-yourselfer indicates a household is a self reported do-it-yourselfer. BehaviorBank® Household Indicators groups similar self-reported elements into slightly broader categories.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8128_column_name
|
5
4
|
'ZEnvironmental Donor'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8128_value_description(
|
7
|
+
def self.en_8128_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8128_description
|
11
12
|
'ZEnvironmental donor indicates a household\'s has self reported donating to environmental causes. BehaviorBank® Household Indicators groups similar self-reported elements into slightly broader categories.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8133_column_name
|
5
4
|
'ZMail Order Multi-Buyer'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8133_value_description(
|
7
|
+
def self.en_8133_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8133_description
|
11
12
|
'ZMail order multi-buyer indicates a household is a self reported mail order multibuyer. BehaviorBank® Household Indicators groups similar self-reported elements into slightly broader categories.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8136_column_name
|
5
4
|
'ZDogs'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8136_value_description(
|
7
|
+
def self.en_8136_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8136_description
|
11
12
|
'ZDogs indicates a household has self reported being dog enthusiasts. BehaviorBank® Household Indicators groups similar self-reported elements into slightly broader categories.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8137_column_name
|
5
4
|
'ZCats'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8137_value_description(
|
7
|
+
def self.en_8137_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8137_description
|
11
12
|
'ZCats indicates a household has self reported being cat enthusiasts. BehaviorBank® Household Indicators groups similar self-reported elements into slightly broader categories.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8180_column_name
|
5
4
|
'Zactive Military'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8180_value_description(
|
7
|
+
def self.en_8180_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8180_description
|
11
12
|
'ZActive Military indicates a household has self reported as being active military. BehaviorBank® Household Indicators groups similar self-reported elements into slightly broader categories.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8181_column_name
|
5
4
|
'Zinactive Military'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8181_value_description(
|
7
|
+
def self.en_8181_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8181_description
|
11
12
|
'ZInactive Military indicates a household has self reported as being inactive military. BehaviorBank® Household Indicators groups similar self-reported elements into slightly broader categories.'
|
@@ -1,11 +1,12 @@
|
|
1
1
|
module Experian
|
2
2
|
class DataDictionary
|
3
|
-
|
4
3
|
def self.en_8502_column_name
|
5
4
|
'Donor & Donor Propensity, Self reported data'
|
6
5
|
end
|
7
6
|
|
8
|
-
def self.en_8502_value_description(
|
7
|
+
def self.en_8502_value_description(_key)
|
8
|
+
''
|
9
|
+
end
|
9
10
|
|
10
11
|
def self.en_8502_description
|
11
12
|
'Z donor & donor propensities indicates a household\'s self reported to contribute to charities. 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'
|
@@ -15,7 +16,9 @@ module Experian
|
|
15
16
|
'Donor & Donor Propensity, Quick Predict Code'
|
16
17
|
end
|
17
18
|
|
18
|
-
def self.en_8502p_value_description(
|
19
|
+
def self.en_8502p_value_description(_key)
|
20
|
+
''
|
21
|
+
end
|
19
22
|
|
20
23
|
def self.en_8502p_description
|
21
24
|
'Z donor & donor propensities indicates a household\'s self reported to contribute to charities. 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.'
|
@@ -36,15 +39,14 @@ module Experian
|
|
36
39
|
'7' => 'Very Unlikely to contribute to charities',
|
37
40
|
'8' => 'Highly Unlikely to contribute to charities',
|
38
41
|
'9' => 'Extremely Unlikely to contribute to charities',
|
39
|
-
'0' => 'Unknown / Not Attempted'
|
42
|
+
'0' => 'Unknown / Not Attempted'
|
40
43
|
}
|
41
|
-
return 'Unknown' if key.size != 2
|
44
|
+
return 'Unknown' if key.size != 2 || code[key[1]].nil? || charity[key[0]].nil?
|
42
45
|
[charity[key[0]], code[key[1]]].join(' - ')
|
43
46
|
end
|
44
47
|
|
45
48
|
def self.en_8502p(key)
|
46
49
|
Experian::DataDictionary.en_8502(key)
|
47
50
|
end
|
48
|
-
|
49
51
|
end
|
50
52
|
end
|