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.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +28 -0
  3. data/Gemfile +3 -3
  4. data/Rakefile +7 -13
  5. data/experian_data_dictionary.gemspec +4 -4
  6. data/lib/element_numbers/0000/en_0000.rb +3 -3
  7. data/lib/element_numbers/0100/en_0100.rb +12 -12
  8. data/lib/element_numbers/0100/en_0103.rb +3 -2
  9. data/lib/element_numbers/0100/en_0107.rb +4 -3
  10. data/lib/element_numbers/0100/en_0108.rb +22 -11
  11. data/lib/element_numbers/0100/en_0110.rb +3 -2
  12. data/lib/element_numbers/0100/en_0112.rb +3 -2
  13. data/lib/element_numbers/0100/en_0113.rb +3 -2
  14. data/lib/element_numbers/0100/en_0118.rb +3 -2
  15. data/lib/element_numbers/0100/en_0119.rb +4 -4
  16. data/lib/element_numbers/0100/en_0130.rb +3 -2
  17. data/lib/element_numbers/0100/en_0131.rb +3 -2
  18. data/lib/element_numbers/0100/en_0132.rb +9 -7
  19. data/lib/element_numbers/0100/en_0133.rb +3 -2
  20. data/lib/element_numbers/0100/en_0134.rb +5 -5
  21. data/lib/element_numbers/0100/en_0135.rb +5 -5
  22. data/lib/element_numbers/0100/en_0136.rb +5 -5
  23. data/lib/element_numbers/0100/en_0137.rb +5 -5
  24. data/lib/element_numbers/0100/en_0138.rb +5 -5
  25. data/lib/element_numbers/0100/en_0139.rb +5 -5
  26. data/lib/element_numbers/0100/en_0140.rb +5 -5
  27. data/lib/element_numbers/0100/en_0141.rb +5 -5
  28. data/lib/element_numbers/0100/en_0155.rb +3 -3
  29. data/lib/element_numbers/0100/en_0156.rb +3 -3
  30. data/lib/element_numbers/0100/en_0160.rb +4 -5
  31. data/lib/element_numbers/0100/en_0161.rb +4 -5
  32. data/lib/element_numbers/0100/en_0162.rb +4 -4
  33. data/lib/element_numbers/0100/en_0164.rb +3 -3
  34. data/lib/element_numbers/0100/en_0174.rb +3 -3
  35. data/lib/element_numbers/0100/en_0177.rb +3 -3
  36. data/lib/element_numbers/0600/en_0601.rb +4 -3
  37. data/lib/element_numbers/0700/en_0711.rb +4 -4
  38. data/lib/element_numbers/0700/en_0715.rb +4 -5
  39. data/lib/element_numbers/0700/en_0716.rb +4 -4
  40. data/lib/element_numbers/0700/en_0717.rb +4 -4
  41. data/lib/element_numbers/300/en_310M.rb +3 -3
  42. data/lib/element_numbers/300/en_313HH.rb +0 -2
  43. data/lib/element_numbers/8000/en_8102.rb +3 -2
  44. data/lib/element_numbers/8000/en_8103.rb +3 -2
  45. data/lib/element_numbers/8000/en_8109.rb +3 -2
  46. data/lib/element_numbers/8000/en_8123.rb +3 -2
  47. data/lib/element_numbers/8000/en_8128.rb +3 -2
  48. data/lib/element_numbers/8000/en_8133.rb +3 -2
  49. data/lib/element_numbers/8000/en_8136.rb +3 -2
  50. data/lib/element_numbers/8000/en_8137.rb +3 -2
  51. data/lib/element_numbers/8000/en_8180.rb +3 -2
  52. data/lib/element_numbers/8000/en_8181.rb +3 -2
  53. data/lib/element_numbers/8000/en_8502.rb +8 -6
  54. data/lib/element_numbers/8000/en_8503.rb +8 -6
  55. data/lib/element_numbers/8000/en_8504.rb +8 -6
  56. data/lib/element_numbers/8000/en_8505.rb +8 -6
  57. data/lib/element_numbers/8000/en_8509.rb +8 -6
  58. data/lib/element_numbers/8000/en_8519.rb +8 -6
  59. data/lib/element_numbers/8000/en_8523.rb +8 -6
  60. data/lib/element_numbers/8000/en_8525.rb +8 -6
  61. data/lib/element_numbers/8000/en_8526.rb +9 -7
  62. data/lib/element_numbers/8000/en_8528.rb +8 -6
  63. data/lib/element_numbers/8000/en_8531.rb +8 -6
  64. data/lib/element_numbers/8000/en_8532.rb +8 -6
  65. data/lib/element_numbers/8000/en_8533.rb +10 -9
  66. data/lib/element_numbers/8000/en_8536.rb +8 -6
  67. data/lib/element_numbers/8000/en_8537.rb +8 -6
  68. data/lib/element_numbers/8000/en_8538.rb +8 -6
  69. data/lib/element_numbers/8000/en_8574.rb +8 -6
  70. data/lib/element_numbers/8000/en_8580.rb +8 -6
  71. data/lib/element_numbers/8000/en_8581.rb +8 -6
  72. data/lib/element_numbers/A/en_A107.rb +3 -2
  73. data/lib/element_numbers/B/en_B000.rb +5 -5
  74. data/lib/element_numbers/B/en_B2185.rb +3 -2
  75. data/lib/element_numbers/B/en_B3010.rb +3 -2
  76. data/lib/element_numbers/B/en_B3076.rb +3 -2
  77. data/lib/element_numbers/B/en_B3080.rb +3 -2
  78. data/lib/element_numbers/B/en_B3081.rb +3 -2
  79. data/lib/element_numbers/B/en_B3200.rb +3 -2
  80. data/lib/element_numbers/B/en_B3225.rb +3 -2
  81. data/lib/element_numbers/B/en_B3226.rb +3 -2
  82. data/lib/element_numbers/B/en_B3227.rb +3 -2
  83. data/lib/element_numbers/B/en_B3251.rb +3 -2
  84. data/lib/element_numbers/B/en_B5011.rb +3 -2
  85. data/lib/element_numbers/B/en_B5013.rb +3 -2
  86. data/lib/element_numbers/B/en_B5014.rb +3 -2
  87. data/lib/element_numbers/B/en_B5016.rb +3 -2
  88. data/lib/element_numbers/D/en_D105N.rb +3 -3
  89. data/lib/element_numbers/D/en_D105S.rb +3 -2
  90. data/lib/element_numbers/D/en_D200.rb +3 -3
  91. data/lib/element_numbers/F/en_F031.rb +3 -3
  92. data/lib/element_numbers/G/en_G2001.rb +5 -5
  93. data/lib/element_numbers/G/en_G2514.rb +3 -3
  94. data/lib/element_numbers/G/en_G2516.rb +3 -3
  95. data/lib/element_numbers/G/en_G2601.rb +3 -3
  96. data/lib/element_numbers/G/en_G2602.rb +3 -3
  97. data/lib/element_numbers/G/en_G2603.rb +3 -3
  98. data/lib/element_numbers/G/en_GEO6.rb +3 -3
  99. data/lib/element_numbers/L/en_L000.rb +4 -4
  100. data/lib/element_numbers/P/en_P213E.rb +4 -4
  101. data/lib/element_numbers/P/en_P213H.rb +21 -21
  102. data/lib/element_numbers/P/en_P213W.rb +4 -4
  103. data/lib/element_numbers/P/en_P400.rb +6 -4
  104. data/lib/element_numbers/T/en_T2000.rb +4 -4
  105. data/lib/element_numbers/V/en_V000.rb +3 -3
  106. data/lib/element_numbers/Y/en_Y000.rb +3 -3
  107. data/lib/experian.rb +10 -10
  108. data/spec/functional/0000/en_0000_spec.rb +13 -16
  109. data/spec/functional/0100/en_0100_spec.rb +13 -20
  110. data/spec/functional/0100/en_0103_spec.rb +9 -12
  111. data/spec/functional/0100/en_0107_spec.rb +10 -13
  112. data/spec/functional/0100/en_0108_spec.rb +411 -445
  113. data/spec/functional/0100/en_0110_spec.rb +11 -14
  114. data/spec/functional/0100/en_0112_spec.rb +7 -10
  115. data/spec/functional/0100/en_0113_spec.rb +12 -16
  116. data/spec/functional/0100/en_0118_spec.rb +11 -15
  117. data/spec/functional/0100/en_0119_spec.rb +7 -10
  118. data/spec/functional/0100/en_0130_spec.rb +8 -12
  119. data/spec/functional/0100/en_0131_spec.rb +9 -13
  120. data/spec/functional/0100/en_0132_spec.rb +4 -8
  121. data/spec/functional/0100/en_0133_spec.rb +4 -8
  122. data/spec/functional/0100/en_0134_spec.rb +15 -19
  123. data/spec/functional/0100/en_0135_spec.rb +15 -19
  124. data/spec/functional/0100/en_0136_spec.rb +15 -19
  125. data/spec/functional/0100/en_0137_spec.rb +14 -18
  126. data/spec/functional/0100/en_0138_spec.rb +14 -18
  127. data/spec/functional/0100/en_0139_spec.rb +14 -18
  128. data/spec/functional/0100/en_0140_spec.rb +14 -18
  129. data/spec/functional/0100/en_0141_spec.rb +14 -18
  130. data/spec/functional/0100/en_0155_spec.rb +7 -11
  131. data/spec/functional/0100/en_0156_spec.rb +7 -11
  132. data/spec/functional/0100/en_0160_spec.rb +8 -13
  133. data/spec/functional/0100/en_0161_spec.rb +8 -12
  134. data/spec/functional/0100/en_0162_spec.rb +7 -11
  135. data/spec/functional/0100/en_0164_spec.rb +9 -14
  136. data/spec/functional/0100/en_0174_spec.rb +8 -13
  137. data/spec/functional/0100/en_0177_spec.rb +7 -12
  138. data/spec/functional/0600/en_0601_spec.rb +7 -12
  139. data/spec/functional/0700/en_0711_spec.rb +10 -13
  140. data/spec/functional/0700/en_0715_spec.rb +11 -15
  141. data/spec/functional/0700/en_0716_spec.rb +11 -15
  142. data/spec/functional/0700/en_0717_spec.rb +11 -12
  143. data/spec/functional/300/en_310M_spec.rb +66 -70
  144. data/spec/functional/300/en_313HH_spec.rb +7 -12
  145. data/spec/functional/8000/en_8102_spec.rb +7 -10
  146. data/spec/functional/8000/en_8103_spec.rb +7 -10
  147. data/spec/functional/8000/en_8109_spec.rb +7 -10
  148. data/spec/functional/8000/en_8123_spec.rb +7 -10
  149. data/spec/functional/8000/en_8128_spec.rb +7 -10
  150. data/spec/functional/8000/en_8133_spec.rb +7 -10
  151. data/spec/functional/8000/en_8136_spec.rb +7 -10
  152. data/spec/functional/8000/en_8137_spec.rb +7 -10
  153. data/spec/functional/8000/en_8180_spec.rb +7 -10
  154. data/spec/functional/8000/en_8181_spec.rb +7 -10
  155. data/spec/functional/8000/en_8502_spec.rb +10 -13
  156. data/spec/functional/8000/en_8503_spec.rb +10 -13
  157. data/spec/functional/8000/en_8504_spec.rb +10 -13
  158. data/spec/functional/8000/en_8505_spec.rb +10 -13
  159. data/spec/functional/8000/en_8509_spec.rb +7 -10
  160. data/spec/functional/8000/en_8519_spec.rb +10 -13
  161. data/spec/functional/8000/en_8523_spec.rb +7 -10
  162. data/spec/functional/8000/en_8525_spec.rb +10 -13
  163. data/spec/functional/8000/en_8526_spec.rb +10 -13
  164. data/spec/functional/8000/en_8536_spec.rb +7 -10
  165. data/spec/functional/8000/en_8537_spec.rb +7 -10
  166. data/spec/functional/8000/en_8580_spec.rb +7 -10
  167. data/spec/functional/8000/en_8581_spec.rb +7 -10
  168. data/spec/functional/A/en_A107_spec.rb +9 -14
  169. data/spec/functional/B/en_B2185_spec.rb +7 -9
  170. data/spec/functional/B/en_B3010_spec.rb +7 -9
  171. data/spec/functional/B/en_B3076_spec.rb +7 -10
  172. data/spec/functional/B/en_B3080_spec.rb +7 -10
  173. data/spec/functional/B/en_B3081_spec.rb +7 -10
  174. data/spec/functional/B/en_B3200_spec.rb +7 -10
  175. data/spec/functional/B/en_B3225_spec.rb +7 -10
  176. data/spec/functional/B/en_B3226_spec.rb +7 -10
  177. data/spec/functional/B/en_B3227_spec.rb +7 -10
  178. data/spec/functional/B/en_B3251_spec.rb +7 -10
  179. data/spec/functional/B/en_B5011_spec.rb +7 -9
  180. data/spec/functional/B/en_B5013_spec.rb +7 -9
  181. data/spec/functional/B/en_B5014_spec.rb +7 -9
  182. data/spec/functional/B/en_B5016_spec.rb +7 -9
  183. data/spec/functional/D/en_D105N_spec.rb +16 -19
  184. data/spec/functional/D/en_D200_spec.rb +7 -10
  185. data/spec/functional/F/en_F031_spec.rb +11 -15
  186. data/spec/functional/G/en_G2001_spec.rb +8 -9
  187. data/spec/functional/G/en_G2514_spec.rb +9 -11
  188. data/spec/functional/G/en_G2516_spec.rb +9 -11
  189. data/spec/functional/G/en_G2602_spec.rb +8 -9
  190. data/spec/functional/G/en_G2603_spec.rb +10 -11
  191. data/spec/functional/L/en_L000_spec.rb +1 -1
  192. data/spec/functional/P/en_P213E_spec.rb +8 -11
  193. data/spec/functional/P/en_P213H_spec.rb +8 -11
  194. data/spec/functional/P/en_P213W_spec.rb +8 -11
  195. data/spec/functional/P/en_P400_spec.rb +5 -8
  196. data/spec/functional/T/en_T2000_spec.rb +9 -14
  197. data/spec/functional/V/en_V000_spec.rb +8 -10
  198. data/spec/functional/Y/en_Y000_spec.rb +10 -12
  199. data/spec/functional/experian_spec.rb +11 -14
  200. data/spec/spec_helper.rb +2 -2
  201. 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(key); ''; end
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(key); ''; end
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 or code[key[1]].nil? or charity[key[0]].nil?
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(key); ''; end
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(key); ''; end
19
+ def self.en_8533p_value_description(_key)
20
+ ''
21
+ end
19
22
 
20
23
  def self.en_8533p_description
21
- self.en_8533_description
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? or key.length != 2
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
- return key[1..key.length-1]
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(key); ''; end
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(key); ''; end
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 or code[key[1]].nil? or charity[key[0]].nil?
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(key); ''; end
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(key); ''; end
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 or code[key[1]].nil? or charity[key[0]].nil?
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(key); ''; end
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(key); ''; end
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 or code[key[1]].nil? or charity[key[0]].nil?
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(key); ''; end
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(key); ''; end
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 or code[key[1]].nil? or charity[key[0]].nil?
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(key); ''; end
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(key); ''; end
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 or code[key[1]].nil? or charity[key[0]].nil?
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(key); ''; end
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(key); ''; end
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 or code[key[1]].nil? or charity[key[0]].nil?
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(key); ''; end
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(key); ''; end
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 (key.eql?("H") or key.eql?("F"))
19
+ elsif key.eql?('H') || key.eql?('F')
19
20
  return 'Household Match'
20
- elsif (key.eql?("P") or key.eql?("I"))
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(key); ''; end
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(key); ''; end
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.'