experian-data-dictionary 1.4 → 1.4.1

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 (137) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-gemset +1 -0
  3. data/.ruby-version +1 -0
  4. data/docs/data-dictionary-small-business.pdf +0 -0
  5. data/experian_data_dictionary.gemspec +1 -1
  6. data/lib/element_numbers/en_0000.rb +3 -1
  7. data/lib/element_numbers/en_0100.rb +5 -1
  8. data/lib/element_numbers/en_0103.rb +3 -1
  9. data/lib/element_numbers/en_0107.rb +2 -0
  10. data/lib/element_numbers/en_0108.rb +15 -0
  11. data/lib/element_numbers/en_0110.rb +2 -0
  12. data/lib/element_numbers/en_0112.rb +2 -0
  13. data/lib/element_numbers/en_0113.rb +2 -0
  14. data/lib/element_numbers/en_0118.rb +3 -1
  15. data/lib/element_numbers/en_0119.rb +2 -0
  16. data/lib/element_numbers/en_0130.rb +2 -0
  17. data/lib/element_numbers/en_0131.rb +2 -0
  18. data/lib/element_numbers/en_0132.rb +5 -1
  19. data/lib/element_numbers/en_0133.rb +2 -0
  20. data/lib/element_numbers/en_0134.rb +2 -0
  21. data/lib/element_numbers/en_0135.rb +2 -0
  22. data/lib/element_numbers/en_0136.rb +2 -0
  23. data/lib/element_numbers/en_0137.rb +2 -0
  24. data/lib/element_numbers/en_0138.rb +2 -0
  25. data/lib/element_numbers/en_0139.rb +2 -0
  26. data/lib/element_numbers/en_0140.rb +2 -0
  27. data/lib/element_numbers/en_0141.rb +2 -0
  28. data/lib/element_numbers/en_0155.rb +2 -0
  29. data/lib/element_numbers/en_0156.rb +2 -0
  30. data/lib/element_numbers/en_0160.rb +2 -0
  31. data/lib/element_numbers/en_0162.rb +2 -0
  32. data/lib/element_numbers/en_0164.rb +2 -0
  33. data/lib/element_numbers/en_0174.rb +2 -0
  34. data/lib/element_numbers/en_0177.rb +25 -0
  35. data/lib/element_numbers/en_0601.rb +19 -0
  36. data/lib/element_numbers/en_0711.rb +2 -0
  37. data/lib/element_numbers/en_0715.rb +2 -0
  38. data/lib/element_numbers/en_0716.rb +2 -0
  39. data/lib/element_numbers/en_0717.rb +2 -0
  40. data/lib/element_numbers/en_310M.rb +2 -0
  41. data/lib/element_numbers/en_313HH.rb +161 -0
  42. data/lib/element_numbers/en_8102.rb +22 -0
  43. data/lib/element_numbers/en_8103.rb +22 -0
  44. data/lib/element_numbers/en_8109.rb +22 -0
  45. data/lib/element_numbers/en_8123.rb +22 -0
  46. data/lib/element_numbers/en_8128.rb +22 -0
  47. data/lib/element_numbers/en_8133.rb +22 -0
  48. data/lib/element_numbers/en_8136.rb +22 -0
  49. data/lib/element_numbers/en_8137.rb +22 -0
  50. data/lib/element_numbers/en_8180.rb +22 -0
  51. data/lib/element_numbers/en_8181.rb +22 -0
  52. data/lib/element_numbers/en_8502.rb +4 -0
  53. data/lib/element_numbers/en_8503.rb +4 -0
  54. data/lib/element_numbers/en_8504.rb +4 -0
  55. data/lib/element_numbers/en_8505.rb +4 -0
  56. data/lib/element_numbers/en_8509.rb +52 -0
  57. data/lib/element_numbers/en_8519.rb +4 -0
  58. data/lib/element_numbers/en_8523.rb +52 -0
  59. data/lib/element_numbers/en_8525.rb +4 -0
  60. data/lib/element_numbers/en_8526.rb +4 -0
  61. data/lib/element_numbers/en_8528.rb +4 -0
  62. data/lib/element_numbers/en_8531.rb +4 -0
  63. data/lib/element_numbers/en_8532.rb +4 -0
  64. data/lib/element_numbers/en_8533.rb +4 -0
  65. data/lib/element_numbers/en_8536.rb +52 -0
  66. data/lib/element_numbers/en_8537.rb +52 -0
  67. data/lib/element_numbers/en_8538.rb +4 -0
  68. data/lib/element_numbers/en_8574.rb +4 -0
  69. data/lib/element_numbers/en_8580.rb +52 -0
  70. data/lib/element_numbers/en_8581.rb +52 -0
  71. data/lib/element_numbers/en_A107.rb +2 -0
  72. data/lib/element_numbers/en_B000.rb +5 -3
  73. data/lib/element_numbers/en_B2185.rb +2 -0
  74. data/lib/element_numbers/en_B3010.rb +2 -0
  75. data/lib/element_numbers/en_B3076.rb +22 -0
  76. data/lib/element_numbers/en_B3080.rb +22 -0
  77. data/lib/element_numbers/en_B3081.rb +22 -0
  78. data/lib/element_numbers/en_B3200.rb +22 -0
  79. data/lib/element_numbers/en_B3225.rb +22 -0
  80. data/lib/element_numbers/en_B3226.rb +22 -0
  81. data/lib/element_numbers/en_B3227.rb +22 -0
  82. data/lib/element_numbers/en_B3251.rb +22 -0
  83. data/lib/element_numbers/en_B5011.rb +2 -0
  84. data/lib/element_numbers/en_B5013.rb +2 -0
  85. data/lib/element_numbers/en_B5014.rb +2 -0
  86. data/lib/element_numbers/en_B5016.rb +2 -0
  87. data/lib/element_numbers/en_D105N.rb +2 -0
  88. data/lib/element_numbers/en_D105S.rb +33 -0
  89. data/lib/element_numbers/en_D200.rb +2 -0
  90. data/lib/element_numbers/en_F031.rb +2 -0
  91. data/lib/element_numbers/en_G2001.rb +2 -0
  92. data/lib/element_numbers/en_G2514.rb +2 -0
  93. data/lib/element_numbers/en_G2516.rb +2 -0
  94. data/lib/element_numbers/en_G2601.rb +2 -0
  95. data/lib/element_numbers/en_G2602.rb +2 -0
  96. data/lib/element_numbers/en_G2603.rb +2 -0
  97. data/lib/element_numbers/en_GEO6.rb +2 -0
  98. data/lib/element_numbers/en_L000.rb +2 -0
  99. data/lib/element_numbers/en_P213E.rb +2 -0
  100. data/lib/element_numbers/en_P213H.rb +2 -0
  101. data/lib/element_numbers/en_P213W.rb +2 -0
  102. data/lib/element_numbers/en_P400.rb +4 -0
  103. data/lib/element_numbers/en_T2000.rb +2 -0
  104. data/lib/element_numbers/en_V000.rb +2 -0
  105. data/lib/element_numbers/en_Y000.rb +2 -0
  106. data/lib/experian.rb +5 -0
  107. data/lib/helpers.rb +0 -0
  108. data/small_business_dif.txt +3 -0
  109. data/spec/functional/en_0177_spec.rb +21 -0
  110. data/spec/functional/en_0601_spec.rb +21 -0
  111. data/spec/functional/en_313HH_spec.rb +21 -0
  112. data/spec/functional/en_8102_spec.rb +19 -0
  113. data/spec/functional/en_8103_spec.rb +19 -0
  114. data/spec/functional/en_8109_spec.rb +19 -0
  115. data/spec/functional/en_8123_spec.rb +19 -0
  116. data/spec/functional/en_8128_spec.rb +19 -0
  117. data/spec/functional/en_8133_spec.rb +19 -0
  118. data/spec/functional/en_8136_spec.rb +19 -0
  119. data/spec/functional/en_8137_spec.rb +19 -0
  120. data/spec/functional/en_8180_spec.rb +19 -0
  121. data/spec/functional/en_8181_spec.rb +19 -0
  122. data/spec/functional/en_8509_spec.rb +19 -0
  123. data/spec/functional/en_8523_spec.rb +19 -0
  124. data/spec/functional/en_8536_spec.rb +19 -0
  125. data/spec/functional/en_8537_spec.rb +19 -0
  126. data/spec/functional/en_8580_spec.rb +19 -0
  127. data/spec/functional/en_8581_spec.rb +19 -0
  128. data/spec/functional/en_B3076_spec.rb +19 -0
  129. data/spec/functional/en_B3080_spec.rb +19 -0
  130. data/spec/functional/en_B3081_spec.rb +19 -0
  131. data/spec/functional/en_B3200_spec.rb +19 -0
  132. data/spec/functional/en_B3225_spec.rb +19 -0
  133. data/spec/functional/en_B3226_spec.rb +19 -0
  134. data/spec/functional/en_B3227_spec.rb +19 -0
  135. data/spec/functional/en_B3251_spec.rb +19 -0
  136. metadata +90 -4
  137. data/.rspec +0 -2
@@ -6,6 +6,8 @@ module Experian
6
6
  'Working Couples'
7
7
  end
8
8
 
9
+ def self.en_f031_value_description(key); ''; end
10
+
9
11
  def self.en_f031_description
10
12
  'ConsumerView Profitability Score works to identifying households likely to pay their debts and ranks households that allow marketers to target the best prospects based on: profitability approval rates response rates likelihood to perform as prescribed'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  '2000 % Population Age < 4'
7
7
  end
8
8
 
9
+ def self.en_g2001_value_description(key); ''; end
10
+
9
11
  def self.en_g2001_description
10
12
  '% Population Age < 4 is a 2000 Census demographic statistic. 2000 Census data reflects information collected on 118 million housing units and 281 million people by the US Census Bureau about households and individuals within a geographic area. These statistics are provided at the lowest possible geographical level (i.e. census tract or block group). This element represents a 100-percent characteristic (short form), where a limited number of questions were asked of every person and housing unit in the United States. Information such as: household relationship, sex, age, Hispanic or Latino origin, race, tenure (whether the home is owned or rented) and vacancy characteristics.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  'Current State Estimated Family Income Decile'
7
7
  end
8
8
 
9
+ def self.en_g2514_value_description(key); ''; end
10
+
9
11
  def self.en_g2514_description
10
12
  'Current state Estimated Family Income Deciles is an Experian derived statistic using current Estimated Median Household Income indexed within State and ranked on a decile basis. 2000 Census data reflects information collected on 118 million housing units and 281 million people by the US Census Bureau about households and individuals within a geographic area.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  'Current CBSA Estimated Family Income Decile'
7
7
  end
8
8
 
9
+ def self.en_g2516_value_description(key); ''; end
10
+
9
11
  def self.en_g2516_description
10
12
  'Current CBSA Estimated Family Income Deciles is an Experian derived statistic using current Estimated Median Household Income indexed within CBSA and ranked on a decile basis. 2000 Census data reflects information collected on 118 million housing units and 281 million people by the US Census Bureau about households and individuals within a geographic area.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  '2000 CBSA Code'
7
7
  end
8
8
 
9
+ def self.en_g2601_value_description(key); ''; end
10
+
9
11
  def self.en_g2601_description
10
12
  'CBSA (Core Based Statistical Area) Codes have been developed by the Office of Management and Budget (OMB) to re-define the 1990 Metropolitan Statistical Areas (MSA). The terms Metropolitan, Primary Metropolitan (PMSA), and Consolidated Metropolitan Statistical Areas (CMSA) have been replaced by Core Based, Micropolitan, Metropolitan, and Combined Statistical Areas and Metropolitan Divisions. These are based on county populations. The terms Primary and Consolidated Metropolitan Statistical Area are also no longer used. A Metropolitan Statistical Area has a population of 50,000 or greater. There are 49 new Metropolitan Statistical Areas defined bringing the total to 362 from the previous 313. Metropolitan Statistical Areas that have a population of 2,500,000 or greater may be further divided into Metropolitan Divisions. Eleven Metropolitan Statistical Areas have been divided into a total of 29 Metropolitan Divisions. A Micropolitan Statistical Area is a newly defined entity that has a population between 10,000 and 49,999. There are 560 Micropolitan Statistical Areas. Collectively, Micropolitan and Metropolitan Statistical Areas are referred to as Core Based Statistical Areas (CBSAs). CBSAs may be rolled up into Combined Statistical Areas (CSAs). There are presently 116 CSAs comprising 314 CBSAs. The Office of Management & Budget further notes that while cities and towns (NECTA\'s) have also been re-defined and made available (similar to 1990 standards), it recommends users adapt to county standards for consistency of comparison.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  '2000 CBSA Type'
7
7
  end
8
8
 
9
+ def self.en_g2602_value_description(key); ''; end
10
+
9
11
  def self.en_g2602_description
10
12
  'CBSA (Core Based Statistical Area) type has been developed to differntiate between Metropolitan, Micropolitan and Rural areas / CBSA codes. A Metropolitan Statistical Area has a population of 50,000 or greater. A Micropolitan Statistical Area is a newly defined entity that has a population between 10,000 and 49,999.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  '2000 Rural-Urban County Size Code'
7
7
  end
8
8
 
9
+ def self.en_g2603_value_description(key); ''; end
10
+
9
11
  def self.en_g2603_description
10
12
  'Rural-Urban County Size Code Codes is a 1 position Rural/Urban continuum code from Economic Research Services. The Rural-Urban County Size Code codes are Rural-Urban Continuum Codes developed by The Economic Research Service of the U.S. Department of Agriculture (ERS/USDA). These codes distinguish counties within Metropolitan Statistical Areas (Metro) by the population of the CBSA, and counties not in Metropolitan Statistical Areas (Non-Metro)-they may be in Micropolitan Statistical Areas or not in any CBSA at all-by degree of urbanization and adjacency to one or more Metropolitan Statistical Areas. The Metro and Non-Metro counties have been subdivided into three and six subgroups, respectively, resulting in nine county classifications. This allows for analysis and selection by finer distinction than the simple Metro and Non-Metro classification, CBSA type, or Nielsen County Size Code.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  '2010 Geo Code'
7
7
  end
8
8
 
9
+ def self.en_geo6_value_description(key); ''; end
10
+
9
11
  def self.en_geo6_description
10
12
  'Geo Codes are numeric symbols assigned for the identification of geographic entities such as state, county, tract, block, groups, etc., by the U.S. Census Bureau. Every geographic
11
13
  entity recognized by the Census Bureau is assigned one or more geographic codes. A geo code is geographic presentation that shows the geographic entities in a
@@ -6,6 +6,8 @@ module Experian
6
6
  '2000 Geo Mandatory Append'
7
7
  end
8
8
 
9
+ def self.en_l000_value_description(key); ''; end
10
+
9
11
  def self.en_l000_description
10
12
  'The Geo mandatory append is required when any data from the geo code process (L and K file types) is appended. It consists of a match level and street match level.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  'Inc Producing Assets IPA V3'
7
7
  end
8
8
 
9
+ def self.en_p213e_value_description(key); ''; end
10
+
9
11
  def self.en_p213e_description
10
12
  'Income Producing Assets (IPA) is one of the models that are used to derive the P$YCLE Financial Markets. This model specifically tries to predict real worth or asset value of the household. IPA estimates affluence within ten ranges.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  'Psycle HH V3'
7
7
  end
8
8
 
9
+ def self.en_p213h_value_description(key); ''; end
10
+
9
11
  def self.en_p213h_description
10
12
  'P$YCLE NE is a household-level segmentation system which assists marketers to predict financial behavior.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  'Net Worth V3'
7
7
  end
8
8
 
9
+ def self.en_p213w_value_description(key); ''; end
10
+
9
11
  def self.en_p213w_description
10
12
  'Net Worth is defined as a household\'s total financial assets minus its liabilities. Assets include financial holdings such as deposit accounts, investments and home value. Liabilities include loans, mortgages and credit card debt.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  'GreenAware'
7
7
  end
8
8
 
9
+ def self.en_p400_value_description(key); ''; end
10
+
9
11
  def self.en_p400_description
10
12
  'GreenAware Segmentation targeting system includes attitudes, opinions, lifestyle, buying behavior, and media usage. Based on the distinctive mindset of consumers towards the environment, we can better
11
13
  understand four distinct consumer segments:
@@ -21,6 +23,8 @@ understand four distinct consumer segments:
21
23
  'GreenAware Tiers'
22
24
  end
23
25
 
26
+ def self.en_p400a_value_description(key); ''; end
27
+
24
28
  def self.en_p400a_description
25
29
  'GreenAware Segmentation targeting system includes attitudes, opinions, lifestyle, buying behavior, and media usage based on the distinctive mindset of consumers toward the Environment. GreenAware Tiers offers
26
30
  ten levels of additional ranking detail for each of the four GreenAware segments which include: Behavioral Greens, Think Greens, Potential Greens and True Browns. The higher the number within the index, the
@@ -6,6 +6,8 @@ module Experian
6
6
  'Discretionary Spend Estimate'
7
7
  end
8
8
 
9
+ def self.en_t2000_value_description(key); ''; end
10
+
9
11
  def self.en_t2000_description
10
12
  'Discretionary Spend Estimate predicts the dollar estimate of annual spend on non-essential, discretionary expenses such as household furniture, alcohol and tobacco, donations, dining out, education, reading, personal care and entertainment (fees, audio/visual equipment, toys, hobbies, pets, playground equipment and other equipment). Represents an actual dollar amount.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  'New Median Mandatory Append'
7
7
  end
8
8
 
9
+ def self.en_v000_value_description(key); ''; end
10
+
9
11
  def self.en_v000_description
10
12
  'The New Median mandatory append is required when any data from the New Median file is appended. It consists of a match level.'
11
13
  end
@@ -6,6 +6,8 @@ module Experian
6
6
  'Census Demographic Match Level Mandatory Append'
7
7
  end
8
8
 
9
+ def self.en_y000_value_description(key); ''; end
10
+
9
11
  def self.en_y000_description
10
12
  'The Census Demographic Match Level mandatory append is required when any 2000 Census demographic data is appended. It consists of a match level.'
11
13
  end
data/lib/experian.rb CHANGED
@@ -16,6 +16,11 @@ module Experian
16
16
  self.send("en_#{column}_column_name")
17
17
  end
18
18
 
19
+ def self.value_description(column)
20
+ column = column.to_s.downcase.gsub(/\s+/, '')
21
+ self.send("en_#{column}_value_description")
22
+ end
23
+
19
24
  def self.description(column)
20
25
  column = column.to_s.downcase.gsub(/\s+/, '')
21
26
  self.send("en_#{column}_description")
data/lib/helpers.rb ADDED
File without changes
@@ -0,0 +1,3 @@
1
+ Not present in Small business pdf
2
+ 0000
3
+ D105S
@@ -0,0 +1,21 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 0177' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('0177','1Y') ).to eq('Confirmed Presence of Children') }
7
+ it { expect( Experian::DataDictionary.lookup('0177','5N') ).to eq('Inferred No Children Present') }
8
+ it { expect( Experian::DataDictionary.lookup('0177','00') ).to be_nil }
9
+ it { expect( Experian::DataDictionary.lookup('0177',' ') ).to eq('Unknown') }
10
+
11
+
12
+ end
13
+
14
+
15
+ context 'invalid lookup' do
16
+ it { expect( Experian::DataDictionary.lookup('0177','20') ).to be_nil }
17
+ it { expect( Experian::DataDictionary.lookup('0177','A') ).to be_nil }
18
+ it { expect( Experian::DataDictionary.lookup('0177','R') ).to be_nil }
19
+ end
20
+
21
+ end
@@ -0,0 +1,21 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 0601' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('0601','1') ).to eq(1) }
7
+ it { expect( Experian::DataDictionary.lookup('0601','5558768') ).to eq(5558768) }
8
+ it { expect( Experian::DataDictionary.lookup('0601','10000') ).to eq(10000) }
9
+ it { expect( Experian::DataDictionary.lookup('0601',' ') ).to be_nil }
10
+
11
+
12
+ end
13
+
14
+
15
+ context 'invalid lookup' do
16
+ it { expect( Experian::DataDictionary.lookup('0601','TAA1') ).to eq(1) }
17
+ it { expect( Experian::DataDictionary.lookup('0601','A') ).to be_nil }
18
+ it { expect( Experian::DataDictionary.lookup('0601','R') ).to be_nil }
19
+ end
20
+
21
+ end
@@ -0,0 +1,21 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 313HH' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('313HH','A01') ).to eq('American Royalty') }
7
+ it { expect( Experian::DataDictionary.lookup('313HH','B07') ).to eq('Generational Soup') }
8
+ it { expect( Experian::DataDictionary.lookup('313HH','D15') ).to eq('Sports Utility Families') }
9
+ it { expect( Experian::DataDictionary.lookup('313HH','J34') ).to eq('Aging in Place') }
10
+
11
+
12
+ end
13
+
14
+
15
+ context 'invalid lookup' do
16
+ it { expect( Experian::DataDictionary.lookup('313HH','TAA1') ).to be_nil }
17
+ it { expect( Experian::DataDictionary.lookup('313HH','A') ).to be_nil }
18
+ it { expect( Experian::DataDictionary.lookup('313HH','R') ).to be_nil }
19
+ end
20
+
21
+ end
@@ -0,0 +1,19 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 8102' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('8102','Y') ).to eq('Household has indicated they contribute to charities') }
7
+ it { expect( Experian::DataDictionary.lookup('8102','U') ).to eq('Unknown') }
8
+ it { expect( Experian::DataDictionary.lookup('8102','') ).to eq('Unknown') }
9
+ it { expect( Experian::DataDictionary.lookup('8102','1') ).to be_nil }
10
+ end
11
+
12
+
13
+ context 'invalid lookup' do
14
+ it { expect( Experian::DataDictionary.lookup('8102','TAA1') ).to be_nil }
15
+ it { expect( Experian::DataDictionary.lookup('8102','A') ).to be_nil }
16
+ it { expect( Experian::DataDictionary.lookup('8102','R') ).to be_nil }
17
+ end
18
+
19
+ end
@@ -0,0 +1,19 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 8103' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('8103','Y') ).to eq('Household has indicated being a pet enthusiast') }
7
+ it { expect( Experian::DataDictionary.lookup('8103','U') ).to eq('Unknown') }
8
+ it { expect( Experian::DataDictionary.lookup('8103','') ).to eq('Unknown') }
9
+ it { expect( Experian::DataDictionary.lookup('8103','1') ).to be_nil }
10
+ end
11
+
12
+
13
+ context 'invalid lookup' do
14
+ it { expect( Experian::DataDictionary.lookup('8103','TAA1') ).to be_nil }
15
+ it { expect( Experian::DataDictionary.lookup('8103','A') ).to be_nil }
16
+ it { expect( Experian::DataDictionary.lookup('8103','R') ).to be_nil }
17
+ end
18
+
19
+ end
@@ -0,0 +1,19 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 8109' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('8109','Y') ).to eq('Household has indicated an interest in investing') }
7
+ it { expect( Experian::DataDictionary.lookup('8109','U') ).to eq('Unknown') }
8
+ it { expect( Experian::DataDictionary.lookup('8109','') ).to eq('Unknown') }
9
+ it { expect( Experian::DataDictionary.lookup('8109','1') ).to be_nil }
10
+ end
11
+
12
+
13
+ context 'invalid lookup' do
14
+ it { expect( Experian::DataDictionary.lookup('8109','TAA1') ).to be_nil }
15
+ it { expect( Experian::DataDictionary.lookup('8109','A') ).to be_nil }
16
+ it { expect( Experian::DataDictionary.lookup('8109','R') ).to be_nil }
17
+ end
18
+
19
+ end
@@ -0,0 +1,19 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 8123' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('8123','Y') ).to eq('Household has indicated a do-it-yourselfer') }
7
+ it { expect( Experian::DataDictionary.lookup('8123','U') ).to eq('Unknown') }
8
+ it { expect( Experian::DataDictionary.lookup('8123','') ).to eq('Unknown') }
9
+ it { expect( Experian::DataDictionary.lookup('8123','1') ).to be_nil }
10
+ end
11
+
12
+
13
+ context 'invalid lookup' do
14
+ it { expect( Experian::DataDictionary.lookup('8123','TAA1') ).to be_nil }
15
+ it { expect( Experian::DataDictionary.lookup('8123','A') ).to be_nil }
16
+ it { expect( Experian::DataDictionary.lookup('8123','R') ).to be_nil }
17
+ end
18
+
19
+ end
@@ -0,0 +1,19 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 8128' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('8128','Y') ).to eq('Household has indicated donating to environmental causes') }
7
+ it { expect( Experian::DataDictionary.lookup('8128','U') ).to eq('Unknown') }
8
+ it { expect( Experian::DataDictionary.lookup('8128','') ).to eq('Unknown') }
9
+ it { expect( Experian::DataDictionary.lookup('8128','1') ).to be_nil }
10
+ end
11
+
12
+
13
+ context 'invalid lookup' do
14
+ it { expect( Experian::DataDictionary.lookup('8128','TAA1') ).to be_nil }
15
+ it { expect( Experian::DataDictionary.lookup('8128','A') ).to be_nil }
16
+ it { expect( Experian::DataDictionary.lookup('8128','R') ).to be_nil }
17
+ end
18
+
19
+ end
@@ -0,0 +1,19 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 8133' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('8133','Y') ).to eq('Household has indicated being a mail order multibuyer') }
7
+ it { expect( Experian::DataDictionary.lookup('8133','U') ).to eq('Unknown') }
8
+ it { expect( Experian::DataDictionary.lookup('8133','') ).to eq('Unknown') }
9
+ it { expect( Experian::DataDictionary.lookup('8133','1') ).to be_nil }
10
+ end
11
+
12
+
13
+ context 'invalid lookup' do
14
+ it { expect( Experian::DataDictionary.lookup('8133','TAA1') ).to be_nil }
15
+ it { expect( Experian::DataDictionary.lookup('8133','A') ).to be_nil }
16
+ it { expect( Experian::DataDictionary.lookup('8133','R') ).to be_nil }
17
+ end
18
+
19
+ end
@@ -0,0 +1,19 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 8136' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('8136','Y') ).to eq('Household has indicated being dog enthusiasts') }
7
+ it { expect( Experian::DataDictionary.lookup('8136','U') ).to eq('Unknown') }
8
+ it { expect( Experian::DataDictionary.lookup('8136','') ).to eq('Unknown') }
9
+ it { expect( Experian::DataDictionary.lookup('8136','1') ).to be_nil }
10
+ end
11
+
12
+
13
+ context 'invalid lookup' do
14
+ it { expect( Experian::DataDictionary.lookup('8136','TAA1') ).to be_nil }
15
+ it { expect( Experian::DataDictionary.lookup('8136','A') ).to be_nil }
16
+ it { expect( Experian::DataDictionary.lookup('8136','R') ).to be_nil }
17
+ end
18
+
19
+ end
@@ -0,0 +1,19 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 8137' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('8137','Y') ).to eq('Household has indicated being cat enthusiasts') }
7
+ it { expect( Experian::DataDictionary.lookup('8137','U') ).to eq('Unknown') }
8
+ it { expect( Experian::DataDictionary.lookup('8137','') ).to eq('Unknown') }
9
+ it { expect( Experian::DataDictionary.lookup('8137','1') ).to be_nil }
10
+ end
11
+
12
+
13
+ context 'invalid lookup' do
14
+ it { expect( Experian::DataDictionary.lookup('8137','TAA1') ).to be_nil }
15
+ it { expect( Experian::DataDictionary.lookup('8137','A') ).to be_nil }
16
+ it { expect( Experian::DataDictionary.lookup('8137','R') ).to be_nil }
17
+ end
18
+
19
+ end
@@ -0,0 +1,19 @@
1
+ require File.join(Dir.pwd, 'spec', 'spec_helper')
2
+
3
+ describe 'Experian::DataDictionary 8180' do
4
+
5
+ context 'valid lookup' do
6
+ it { expect( Experian::DataDictionary.lookup('8180','Y') ).to eq('Household has self reported being active military') }
7
+ it { expect( Experian::DataDictionary.lookup('8180','U') ).to eq('Unknown') }
8
+ it { expect( Experian::DataDictionary.lookup('8180','') ).to eq('Unknown') }
9
+ it { expect( Experian::DataDictionary.lookup('8180','1') ).to be_nil }
10
+ end
11
+
12
+
13
+ context 'invalid lookup' do
14
+ it { expect( Experian::DataDictionary.lookup('8180','TAA1') ).to be_nil }
15
+ it { expect( Experian::DataDictionary.lookup('8180','A') ).to be_nil }
16
+ it { expect( Experian::DataDictionary.lookup('8180','R') ).to be_nil }
17
+ end
18
+
19
+ end