diff --git a/app/models/form/sales/pages/buyer2_ethnic_background_arab.rb b/app/models/form/sales/pages/buyer2_ethnic_background_arab.rb
new file mode 100644
index 000000000..593e43ebc
--- /dev/null
+++ b/app/models/form/sales/pages/buyer2_ethnic_background_arab.rb
@@ -0,0 +1,15 @@
+class Form::Sales::Pages::Buyer2EthnicBackgroundArab < ::Form::Page
+ def initialize(id, hsh, subsection)
+ super
+ @id = "buyer_2_ethnic_background_arab"
+ @depends_on = [{
+ "ethnic_group2" => 4,
+ }]
+ end
+
+ def questions
+ @questions ||= [
+ Form::Sales::Questions::Buyer2EthnicBackgroundArab.new(nil, nil, self),
+ ]
+ end
+end
diff --git a/app/models/form/sales/pages/buyer2_ethnic_background_asian.rb b/app/models/form/sales/pages/buyer2_ethnic_background_asian.rb
new file mode 100644
index 000000000..98a36476e
--- /dev/null
+++ b/app/models/form/sales/pages/buyer2_ethnic_background_asian.rb
@@ -0,0 +1,15 @@
+class Form::Sales::Pages::Buyer2EthnicBackgroundAsian < ::Form::Page
+ def initialize(id, hsh, subsection)
+ super
+ @id = "buyer_2_ethnic_background_asian"
+ @depends_on = [{
+ "ethnic_group2" => 2,
+ }]
+ end
+
+ def questions
+ @questions ||= [
+ Form::Sales::Questions::Buyer2EthnicBackgroundAsian.new(nil, nil, self),
+ ]
+ end
+end
diff --git a/app/models/form/sales/pages/buyer2_ethnic_background_black.rb b/app/models/form/sales/pages/buyer2_ethnic_background_black.rb
new file mode 100644
index 000000000..a772f46ac
--- /dev/null
+++ b/app/models/form/sales/pages/buyer2_ethnic_background_black.rb
@@ -0,0 +1,15 @@
+class Form::Sales::Pages::Buyer2EthnicBackgroundBlack < ::Form::Page
+ def initialize(id, hsh, subsection)
+ super
+ @id = "buyer_2_ethnic_background_black"
+ @depends_on = [{
+ "ethnic_group2" => 3,
+ }]
+ end
+
+ def questions
+ @questions ||= [
+ Form::Sales::Questions::Buyer2EthnicBackgroundBlack.new(nil, nil, self),
+ ]
+ end
+end
diff --git a/app/models/form/sales/pages/buyer2_ethnic_background_mixed.rb b/app/models/form/sales/pages/buyer2_ethnic_background_mixed.rb
new file mode 100644
index 000000000..f02165dfc
--- /dev/null
+++ b/app/models/form/sales/pages/buyer2_ethnic_background_mixed.rb
@@ -0,0 +1,15 @@
+class Form::Sales::Pages::Buyer2EthnicBackgroundMixed < ::Form::Page
+ def initialize(id, hsh, subsection)
+ super
+ @id = "buyer_2_ethnic_background_mixed"
+ @depends_on = [{
+ "ethnic_group2" => 1,
+ }]
+ end
+
+ def questions
+ @questions ||= [
+ Form::Sales::Questions::Buyer2EthnicBackgroundMixed.new(nil, nil, self),
+ ]
+ end
+end
diff --git a/app/models/form/sales/pages/buyer2_ethnic_background_white.rb b/app/models/form/sales/pages/buyer2_ethnic_background_white.rb
new file mode 100644
index 000000000..2013c8682
--- /dev/null
+++ b/app/models/form/sales/pages/buyer2_ethnic_background_white.rb
@@ -0,0 +1,15 @@
+class Form::Sales::Pages::Buyer2EthnicBackgroundWhite < ::Form::Page
+ def initialize(id, hsh, subsection)
+ super
+ @id = "buyer_2_ethnic_background_white"
+ @depends_on = [{
+ "ethnic_group2" => 0,
+ }]
+ end
+
+ def questions
+ @questions ||= [
+ Form::Sales::Questions::Buyer2EthnicBackgroundWhite.new(nil, nil, self),
+ ]
+ end
+end
diff --git a/app/models/form/sales/pages/buyer2_ethnic_group.rb b/app/models/form/sales/pages/buyer2_ethnic_group.rb
new file mode 100644
index 000000000..1b815996e
--- /dev/null
+++ b/app/models/form/sales/pages/buyer2_ethnic_group.rb
@@ -0,0 +1,22 @@
+class Form::Sales::Pages::Buyer2EthnicGroup < ::Form::Page
+ def initialize(id, hsh, subsection)
+ super
+ @id = "buyer_2_ethnic_group"
+ @depends_on = [
+ {
+ "jointpur" => 1,
+ "privacynotice" => 1,
+ },
+ {
+ "jointpur" => 1,
+ "noint" => 1,
+ },
+ ]
+ end
+
+ def questions
+ @questions ||= [
+ Form::Sales::Questions::Buyer2EthnicGroup.new(nil, nil, self),
+ ]
+ end
+end
diff --git a/app/models/form/sales/questions/buyer2_ethnic_background_arab.rb b/app/models/form/sales/questions/buyer2_ethnic_background_arab.rb
new file mode 100644
index 000000000..1766780b7
--- /dev/null
+++ b/app/models/form/sales/questions/buyer2_ethnic_background_arab.rb
@@ -0,0 +1,16 @@
+class Form::Sales::Questions::Buyer2EthnicBackgroundArab < ::Form::Question
+ def initialize(id, hsh, page)
+ super
+ @id = "ethnicbuy2"
+ @check_answer_label = "Buyer 2’s ethnic background"
+ @header = "Which of the following best describes the buyer 2’s Arab background?"
+ @type = "radio"
+ @answer_options = ANSWER_OPTIONS
+ @check_answers_card_number = 2
+ end
+
+ ANSWER_OPTIONS = {
+ "19" => { "value" => "Arab" },
+ "16" => { "value" => "Other ethnic group" },
+ }.freeze
+end
diff --git a/app/models/form/sales/questions/buyer2_ethnic_background_asian.rb b/app/models/form/sales/questions/buyer2_ethnic_background_asian.rb
new file mode 100644
index 000000000..2578d220a
--- /dev/null
+++ b/app/models/form/sales/questions/buyer2_ethnic_background_asian.rb
@@ -0,0 +1,19 @@
+class Form::Sales::Questions::Buyer2EthnicBackgroundAsian < ::Form::Question
+ def initialize(id, hsh, page)
+ super
+ @id = "ethnicbuy2"
+ @check_answer_label = "Buyer 2’s ethnic background"
+ @header = "Which of the following best describes the buyer 2’s Asian or Asian British background?"
+ @type = "radio"
+ @answer_options = ANSWER_OPTIONS
+ @check_answers_card_number = 2
+ end
+
+ ANSWER_OPTIONS = {
+ "10" => { "value" => "Bangladeshi" },
+ "15" => { "value" => "Chinese" },
+ "8" => { "value" => "Indian" },
+ "9" => { "value" => "Pakistani" },
+ "11" => { "value" => "Any other Asian or Asian British background" },
+ }.freeze
+end
diff --git a/app/models/form/sales/questions/buyer2_ethnic_background_black.rb b/app/models/form/sales/questions/buyer2_ethnic_background_black.rb
new file mode 100644
index 000000000..11d47790c
--- /dev/null
+++ b/app/models/form/sales/questions/buyer2_ethnic_background_black.rb
@@ -0,0 +1,17 @@
+class Form::Sales::Questions::Buyer2EthnicBackgroundBlack < ::Form::Question
+ def initialize(id, hsh, page)
+ super
+ @id = "ethnicbuy2"
+ @check_answer_label = "Buyer 2’s ethnic background"
+ @header = "Which of the following best describes the buyer 2’s Black, African, Caribbean or Black British background?"
+ @type = "radio"
+ @answer_options = ANSWER_OPTIONS
+ @check_answers_card_number = 2
+ end
+
+ ANSWER_OPTIONS = {
+ "13" => { "value" => "African" },
+ "12" => { "value" => "Caribbean" },
+ "14" => { "value" => "Any other Black, African or Caribbean background" },
+ }.freeze
+end
diff --git a/app/models/form/sales/questions/buyer2_ethnic_background_mixed.rb b/app/models/form/sales/questions/buyer2_ethnic_background_mixed.rb
new file mode 100644
index 000000000..78600af34
--- /dev/null
+++ b/app/models/form/sales/questions/buyer2_ethnic_background_mixed.rb
@@ -0,0 +1,18 @@
+class Form::Sales::Questions::Buyer2EthnicBackgroundMixed < ::Form::Question
+ def initialize(id, hsh, page)
+ super
+ @id = "ethnicbuy2"
+ @check_answer_label = "Buyer 2’s ethnic background"
+ @header = "Which of the following best describes the buyer 2’s Mixed or Multiple ethnic groups background?"
+ @type = "radio"
+ @answer_options = ANSWER_OPTIONS
+ @check_answers_card_number = 2
+ end
+
+ ANSWER_OPTIONS = {
+ "4" => { "value" => "White and Black Caribbean" },
+ "5" => { "value" => "White and Black African" },
+ "6" => { "value" => "White and Asian" },
+ "7" => { "value" => "Any other Mixed or Multiple ethnic background" },
+ }.freeze
+end
diff --git a/app/models/form/sales/questions/buyer2_ethnic_background_white.rb b/app/models/form/sales/questions/buyer2_ethnic_background_white.rb
new file mode 100644
index 000000000..5b5fc8e2c
--- /dev/null
+++ b/app/models/form/sales/questions/buyer2_ethnic_background_white.rb
@@ -0,0 +1,18 @@
+class Form::Sales::Questions::Buyer2EthnicBackgroundWhite < ::Form::Question
+ def initialize(id, hsh, page)
+ super
+ @id = "ethnicbuy2"
+ @check_answer_label = "Buyer 2’s ethnic background"
+ @header = "Which of the following best describes the buyer 2’s White background?"
+ @type = "radio"
+ @answer_options = ANSWER_OPTIONS
+ @check_answers_card_number = 2
+ end
+
+ ANSWER_OPTIONS = {
+ "1" => { "value" => "English, Welsh, Northern Irish, Scottish or British" },
+ "2" => { "value" => "Irish" },
+ "18" => { "value" => "Gypsy or Irish Traveller" },
+ "3" => { "value" => "Any other White background" },
+ }.freeze
+end
diff --git a/app/models/form/sales/questions/buyer2_ethnic_group.rb b/app/models/form/sales/questions/buyer2_ethnic_group.rb
new file mode 100644
index 000000000..5366910fe
--- /dev/null
+++ b/app/models/form/sales/questions/buyer2_ethnic_group.rb
@@ -0,0 +1,27 @@
+class Form::Sales::Questions::Buyer2EthnicGroup < ::Form::Question
+ def initialize(id, hsh, page)
+ super
+ @id = "ethnic_group2"
+ @check_answer_label = "Buyer 2’s ethnic group"
+ @header = "What is buyer 2’s ethnic group?"
+ @type = "radio"
+ @answer_options = ANSWER_OPTIONS
+ @inferred_check_answers_value = [{
+ "condition" => {
+ "ethnic_group2" => 17,
+ },
+ "value" => "Prefers not to say",
+ }]
+ @check_answers_card_number = 2
+ end
+
+ ANSWER_OPTIONS = {
+ "0" => { "value" => "White" },
+ "1" => { "value" => "Mixed or Multiple ethnic groups" },
+ "2" => { "value" => "Asian or Asian British" },
+ "3" => { "value" => "Black, African, Caribbean or Black British" },
+ "4" => { "value" => "Arab or other ethnic group" },
+ "divider" => { "value" => true },
+ "17" => { "value" => "Buyer 1 prefers not to say" },
+ }.freeze
+end
diff --git a/app/models/form/sales/subsections/household_characteristics.rb b/app/models/form/sales/subsections/household_characteristics.rb
index 7e342499e..55ec0b137 100644
--- a/app/models/form/sales/subsections/household_characteristics.rb
+++ b/app/models/form/sales/subsections/household_characteristics.rb
@@ -32,6 +32,7 @@ class Form::Sales::Subsections::HouseholdCharacteristics < ::Form::Subsection
Form::Sales::Pages::RetirementValueCheck.new("age_2_buyer_retirement_value_check", nil, self, person_index: 2),
Form::Sales::Pages::GenderIdentity2.new(nil, nil, self),
Form::Sales::Pages::RetirementValueCheck.new("gender_2_buyer_retirement_value_check", nil, self, person_index: 2),
+ ethnic_pages_for_buyer_2,
Form::Sales::Pages::Buyer2WorkingSituation.new(nil, nil, self),
Form::Sales::Pages::RetirementValueCheck.new("working_situation_2_buyer_retirement_value_check", nil, self, person_index: 2),
Form::Sales::Pages::Buyer2LiveInProperty.new(nil, nil, self),
@@ -68,6 +69,17 @@ class Form::Sales::Subsections::HouseholdCharacteristics < ::Form::Subsection
Form::Sales::Pages::RetirementValueCheck.new("gender_5_retirement_value_check", nil, self, person_index: 5),
Form::Sales::Pages::PersonWorkingSituation.new("person_5_working_situation", nil, self, person_index: 5),
Form::Sales::Pages::RetirementValueCheck.new("working_situation_5_retirement_value_check", nil, self, person_index: 5),
- ]
+ ].flatten.compact
+ end
+
+ def ethnic_pages_for_buyer_2
+ if form.start_date.year >= 2023
+ [Form::Sales::Pages::Buyer2EthnicGroup.new(nil, nil, self),
+ Form::Sales::Pages::Buyer2EthnicBackgroundBlack.new(nil, nil, self),
+ Form::Sales::Pages::Buyer2EthnicBackgroundAsian.new(nil, nil, self),
+ Form::Sales::Pages::Buyer2EthnicBackgroundArab.new(nil, nil, self),
+ Form::Sales::Pages::Buyer2EthnicBackgroundMixed.new(nil, nil, self),
+ Form::Sales::Pages::Buyer2EthnicBackgroundWhite.new(nil, nil, self)]
+ end
end
end
diff --git a/app/services/bulk_upload/lettings/row_parser.rb b/app/services/bulk_upload/lettings/row_parser.rb
index 9d5604587..bf1f62eba 100644
--- a/app/services/bulk_upload/lettings/row_parser.rb
+++ b/app/services/bulk_upload/lettings/row_parser.rb
@@ -150,6 +150,10 @@ class BulkUpload::Lettings::RowParser
validate :validate_cannot_be_la_referral_if_general_needs
validate :validate_leaving_reason_for_renewal
validate :validate_lettings_type_matches_bulk_upload
+ validate :validate_only_one_housing_needs_type
+ validate :validate_no_disabled_needs_conjunction
+ validate :validate_dont_know_disabled_needs_conjunction
+ validate :validate_no_and_dont_know_disabled_needs_conjunction
def valid?
errors.clear
@@ -178,6 +182,33 @@ class BulkUpload::Lettings::RowParser
private
+ def validate_no_and_dont_know_disabled_needs_conjunction
+ if field_59 == 1 && field_60 == 1
+ errors.add(:field_59, I18n.t("validations.household.housingneeds.no_and_dont_know_disabled_needs_conjunction"))
+ errors.add(:field_60, I18n.t("validations.household.housingneeds.no_and_dont_know_disabled_needs_conjunction"))
+ end
+ end
+
+ def validate_dont_know_disabled_needs_conjunction
+ if field_60 == 1 && [field_55, field_56, field_57, field_58].compact.count.positive?
+ errors.add(:field_60, I18n.t("validations.household.housingneeds.dont_know_disabled_needs_conjunction"))
+ end
+ end
+
+ def validate_no_disabled_needs_conjunction
+ if field_59 == 1 && [field_55, field_56, field_57, field_58].compact.count.positive?
+ errors.add(:field_59, I18n.t("validations.household.housingneeds.no_disabled_needs_conjunction"))
+ end
+ end
+
+ def validate_only_one_housing_needs_type
+ if [field_55, field_56, field_57].compact.count.positive?
+ errors.add(:field_55, I18n.t("validations.household.housingneeds_type.only_one_option_permitted"))
+ errors.add(:field_56, I18n.t("validations.household.housingneeds_type.only_one_option_permitted"))
+ errors.add(:field_57, I18n.t("validations.household.housingneeds_type.only_one_option_permitted"))
+ end
+ end
+
def validate_lettings_type_matches_bulk_upload
if [1, 3, 5, 7, 9, 11].include?(field_1) && !bulk_upload.general_needs?
errors.add(:field_1, I18n.t("validations.setup.lettype.supported_housing_mismatch"))
@@ -552,6 +583,8 @@ private
attributes["preg_occ"] = field_47
attributes["housingneeds"] = housingneeds
+ attributes["housingneeds_type"] = housingneeds_type
+ attributes["housingneeds_other"] = housingneeds_other
attributes["illness"] = field_118
@@ -808,7 +841,7 @@ private
def housingneeds
if field_59 == 1
- 1
+ 2
elsif field_60 == 1
3
else
@@ -816,6 +849,20 @@ private
end
end
+ def housingneeds_type
+ if field_55 == 1
+ 0
+ elsif field_56 == 1
+ 1
+ elsif field_57 == 1
+ 2
+ end
+ end
+
+ def housingneeds_other
+ return 1 if field_58 == 1
+ end
+
def ethnic_group_from_ethnic
return nil if field_43.blank?
diff --git a/app/services/exports/lettings_log_export_constants.rb b/app/services/exports/lettings_log_export_constants.rb
index 9184efb25..332f22550 100644
--- a/app/services/exports/lettings_log_export_constants.rb
+++ b/app/services/exports/lettings_log_export_constants.rb
@@ -30,7 +30,7 @@ module Exports::LettingsLogExportConstants
"confidential",
"earnings",
"ethnic",
- "form",
+ "formid",
"has_benefits",
"hb",
"hbrentshortfall",
diff --git a/app/services/exports/lettings_log_export_service.rb b/app/services/exports/lettings_log_export_service.rb
index aed3ea98a..fb985f931 100644
--- a/app/services/exports/lettings_log_export_service.rb
+++ b/app/services/exports/lettings_log_export_service.rb
@@ -152,7 +152,7 @@ module Exports
def apply_cds_transformation(lettings_log, export_mode)
attribute_hash = lettings_log.attributes_before_type_cast
- attribute_hash["form"] = attribute_hash["old_form_id"] || (attribute_hash["id"] + LOG_ID_OFFSET)
+ attribute_hash["formid"] = attribute_hash["old_form_id"] || (attribute_hash["id"] + LOG_ID_OFFSET)
# We can't have a variable number of columns in CSV
unless export_mode == EXPORT_MODE[:csv]
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 75838ed10..fa63545d2 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -349,6 +349,12 @@ en:
must_be_child: "Answer must be ‘child’ if the person is aged 16-19 and a student"
housingneeds_a:
one_or_two_choices: "You can only select one option or ‘other disabled access needs’ plus ‘wheelchair-accessible housing’, ‘wheelchair access to essential rooms’ or ‘level access housing’"
+ housingneeds_type:
+ only_one_option_permitted: "Only one disabled access need: fully wheelchair-accessible housing, wheelchair access to essential rooms or level access housing, can be selected"
+ housingneeds:
+ no_disabled_needs_conjunction: "No disabled access needs can’t be selected if you have selected fully wheelchair-accessible housing, wheelchair access to essential rooms, level access housing or other disabled access needs"
+ dont_know_disabled_needs_conjunction: "Don’t know disabled access needs can’t be selected if you have selected fully wheelchair-accessible housing, wheelchair access to essential rooms, level access housing or other disabled access needs"
+ no_and_dont_know_disabled_needs_conjunction: "No disabled access needs and don’t know disabled access needs cannot be selected together"
prevten:
non_temp_accommodation: "Answer cannot be non-temporary accommodation as this is a re-let to a tenant who occupied the same property as temporary accommodation"
over_20_foster_care: "Answer cannot be a children’s home or foster care as the lead tenant is 20 or older"
diff --git a/config/sale_range_data/2023.csv b/config/sale_range_data/2023.csv
new file mode 100644
index 000000000..ebe873c07
--- /dev/null
+++ b/config/sale_range_data/2023.csv
@@ -0,0 +1,1185 @@
+la_name,la,bedrooms,soft_min,soft_max
+Adur,E07000223,1,126000,447000
+Adur,E07000223,2,220000,480000
+Adur,E07000223,3,312000,658000
+Adur,E07000223,4,383000,938000
+Amber Valley,E07000032,1,99000,306000
+Amber Valley,E07000032,2,99000,306000
+Amber Valley,E07000032,3,123000,407000
+Amber Valley,E07000032,4,236000,842000
+Arun,E07000224,1,102000,486000
+Arun,E07000224,2,182000,486000
+Arun,E07000224,3,248000,569000
+Arun,E07000224,4,351000,966000
+Ashfield,E07000170,1,77000,250000
+Ashfield,E07000170,2,87000,250000
+Ashfield,E07000170,3,103000,298000
+Ashfield,E07000170,4,198000,547000
+Ashford,E07000105,1,102000,435000
+Ashford,E07000105,2,105000,435000
+Ashford,E07000105,3,239000,543000
+Ashford,E07000105,4,340000,1120000
+Babergh,E07000200,1,113000,428000
+Babergh,E07000200,2,149000,428000
+Babergh,E07000200,3,215000,557000
+Babergh,E07000200,4,341000,1230000
+Barking and Dagenham,E09000002,1,88000,383000
+Barking and Dagenham,E09000002,2,103000,401000
+Barking and Dagenham,E09000002,3,220000,506000
+Barking and Dagenham,E09000002,4,308000,661000
+Barnet,E09000003,1,142000,538000
+Barnet,E09000003,2,205000,696000
+Barnet,E09000003,3,416000,1071000
+Barnet,E09000003,4,654000,2254000
+Barnsley,E08000016,1,70000,225000
+Barnsley,E08000016,2,70000,225000
+Barnsley,E08000016,3,93000,289000
+Barnsley,E08000016,4,175000,574000
+Basildon,E07000066,1,96000,457000
+Basildon,E07000066,2,145000,457000
+Basildon,E07000066,3,273000,567000
+Basildon,E07000066,4,376000,1118000
+Basingstoke and Deane,E07000084,1,113000,448000
+Basingstoke and Deane,E07000084,2,139000,448000
+Basingstoke and Deane,E07000084,3,275000,578000
+Basingstoke and Deane,E07000084,4,394000,1115000
+Bassetlaw,E07000171,1,92000,313000
+Bassetlaw,E07000171,2,92000,313000
+Bassetlaw,E07000171,3,105000,356000
+Bassetlaw,E07000171,4,186000,627000
+Bath and North East Somerset,E06000022,1,119000,609000
+Bath and North East Somerset,E06000022,2,154000,609000
+Bath and North East Somerset,E06000022,3,249000,762000
+Bath and North East Somerset,E06000022,4,380000,1604000
+Bedford,E06000055,1,96000,349000
+Bedford,E06000055,2,120000,349000
+Bedford,E06000055,3,210000,467000
+Bedford,E06000055,4,371000,946000
+Bexley,E09000004,1,109000,449000
+Bexley,E09000004,2,142000,449000
+Bexley,E09000004,3,312000,581000
+Bexley,E09000004,4,412000,972000
+Birmingham,E08000025,1,79000,373000
+Birmingham,E08000025,2,107000,373000
+Birmingham,E08000025,3,137000,452000
+Birmingham,E08000025,4,198000,1006000
+Blaby,E07000129,1,111000,357000
+Blaby,E07000129,2,111000,357000
+Blaby,E07000129,3,194000,389000
+Blaby,E07000129,4,285000,723000
+Blackburn with Darwen,E06000008,1,61000,234000
+Blackburn with Darwen,E06000008,2,74000,234000
+Blackburn with Darwen,E06000008,3,92000,310000
+Blackburn with Darwen,E06000008,4,148000,608000
+Blackpool,E06000009,1,59000,228000
+Blackpool,E06000009,2,83000,228000
+Blackpool,E06000009,3,100000,265000
+Blackpool,E06000009,4,114000,450000
+Bolsover,E07000033,1,81000,222000
+Bolsover,E07000033,2,81000,222000
+Bolsover,E07000033,3,87000,279000
+Bolsover,E07000033,4,169000,543000
+Bolton,E08000001,1,77000,251000
+Bolton,E08000001,2,84000,251000
+Bolton,E08000001,3,104000,340000
+Bolton,E08000001,4,175000,762000
+Boston,E07000136,1,58000,258000
+Boston,E07000136,2,58000,258000
+Boston,E07000136,3,111000,308000
+Boston,E07000136,4,212000,510000
+Bournemouth, Christchurch and Poole,E06000058,1,140000,500000
+Bournemouth, Christchurch and Poole,E06000058,2,197000,500000
+Bournemouth, Christchurch and Poole,E06000058,3,285000,657000
+Bournemouth, Christchurch and Poole,E06000058,4,370000,1321000
+Bracknell Forest,E06000036,1,95000,488000
+Bracknell Forest,E06000036,2,157000,488000
+Bracknell Forest,E06000036,3,341000,654000
+Bracknell Forest,E06000036,4,417000,1185000
+Bradford,E08000032,1,65000,291000
+Bradford,E08000032,2,77000,291000
+Bradford,E08000032,3,96000,365000
+Bradford,E08000032,4,124000,799000
+Braintree,E07000067,1,126000,425000
+Braintree,E07000067,2,166000,425000
+Braintree,E07000067,3,273000,534000
+Braintree,E07000067,4,370000,1177000
+Breckland,E07000143,1,105000,315000
+Breckland,E07000143,2,130000,315000
+Breckland,E07000143,3,173000,415000
+Breckland,E07000143,4,262000,795000
+Brent,E09000005,1,109000,625000
+Brent,E09000005,2,160000,817000
+Brent,E09000005,3,387000,1319000
+Brent,E09000005,4,555000,2717000
+Brentwood,E07000068,1,146000,530000
+Brentwood,E07000068,2,244000,703000
+Brentwood,E07000068,3,402000,897000
+Brentwood,E07000068,4,508000,1851000
+Brighton and Hove,E06000043,1,185000,526000
+Brighton and Hove,E06000043,2,270000,610000
+Brighton and Hove,E06000043,3,350000,846000
+Brighton and Hove,E06000043,4,458000,1487000
+Bristol, City of,E06000023,1,145000,417000
+Bristol, City of,E06000023,2,184000,562000
+Bristol, City of,E06000023,3,242000,685000
+Bristol, City of,E06000023,4,331000,1394000
+Broadland,E07000144,1,126000,334000
+Broadland,E07000144,2,140000,334000
+Broadland,E07000144,3,225000,433000
+Broadland,E07000144,4,302000,749000
+Bromley,E09000006,1,198000,559000
+Bromley,E09000006,2,276000,629000
+Bromley,E09000006,3,352000,824000
+Bromley,E09000006,4,499000,1553000
+Bromsgrove,E07000234,1,119000,485000
+Bromsgrove,E07000234,2,121000,485000
+Bromsgrove,E07000234,3,195000,556000
+Bromsgrove,E07000234,4,347000,1090000
+Broxbourne,E07000095,1,170000,480000
+Broxbourne,E07000095,2,252000,480000
+Broxbourne,E07000095,3,371000,658000
+Broxbourne,E07000095,4,485000,1428000
+Broxtowe,E07000172,1,99000,297000
+Broxtowe,E07000172,2,109000,297000
+Broxtowe,E07000172,3,151000,381000
+Broxtowe,E07000172,4,235000,789000
+Buckinghamshire,E06000060,1,157000,650000
+Buckinghamshire,E06000060,2,171000,650000
+Buckinghamshire,E06000060,3,314000,867000
+Buckinghamshire,E06000060,4,459000,1926000
+Burnley,E07000117,1,52000,225000
+Burnley,E07000117,2,62000,225000
+Burnley,E07000117,3,83000,283000
+Burnley,E07000117,4,147000,475000
+Bury,E08000002,1,89000,319000
+Bury,E08000002,2,99000,319000
+Bury,E08000002,3,136000,390000
+Bury,E08000002,4,224000,792000
+Calderdale,E08000033,1,74000,283000
+Calderdale,E08000033,2,79000,283000
+Calderdale,E08000033,3,103000,393000
+Calderdale,E08000033,4,163000,749000
+Cambridge,E07000008,1,139000,603000
+Cambridge,E07000008,2,174000,663000
+Cambridge,E07000008,3,339000,870000
+Cambridge,E07000008,4,530000,1952000
+Camden,E09000007,1,256000,806000
+Camden,E09000007,2,449000,1468000
+Camden,E09000007,3,559000,2535000
+Camden,E09000007,4,1009000,6026000
+Cannock Chase,E07000192,1,75000,248000
+Cannock Chase,E07000192,2,111000,248000
+Cannock Chase,E07000192,3,147000,326000
+Cannock Chase,E07000192,4,228000,511000
+Canterbury,E07000106,1,96000,465000
+Canterbury,E07000106,2,167000,465000
+Canterbury,E07000106,3,239000,591000
+Canterbury,E07000106,4,356000,1076000
+Castle Point,E07000069,1,155000,465000
+Castle Point,E07000069,2,219000,465000
+Castle Point,E07000069,3,283000,543000
+Castle Point,E07000069,4,378000,1017000
+Central Bedfordshire,E06000056,1,106000,418000
+Central Bedfordshire,E06000056,2,134000,418000
+Central Bedfordshire,E06000056,3,255000,537000
+Central Bedfordshire,E06000056,4,395000,942000
+Charnwood,E07000130,1,95000,338000
+Charnwood,E07000130,2,110000,338000
+Charnwood,E07000130,3,168000,397000
+Charnwood,E07000130,4,286000,803000
+Chelmsford,E07000070,1,89000,498000
+Chelmsford,E07000070,2,125000,498000
+Chelmsford,E07000070,3,330000,675000
+Chelmsford,E07000070,4,449000,1189000
+Cheltenham,E07000078,1,118000,487000
+Cheltenham,E07000078,2,175000,511000
+Cheltenham,E07000078,3,226000,638000
+Cheltenham,E07000078,4,328000,1280000
+Cherwell,E07000177,1,114000,432000
+Cherwell,E07000177,2,114000,432000
+Cherwell,E07000177,3,235000,543000
+Cherwell,E07000177,4,359000,999000
+Cheshire East,E06000049,1,98000,454000
+Cheshire East,E06000049,2,98000,454000
+Cheshire East,E06000049,3,132000,566000
+Cheshire East,E06000049,4,288000,1199000
+Cheshire West and Chester,E06000050,1,84000,375000
+Cheshire West and Chester,E06000050,2,94000,375000
+Cheshire West and Chester,E06000050,3,122000,450000
+Cheshire West and Chester,E06000050,4,253000,975000
+Chesterfield,E07000034,1,73000,240000
+Chesterfield,E07000034,2,95000,240000
+Chesterfield,E07000034,3,117000,353000
+Chesterfield,E07000034,4,194000,629000
+Chichester,E07000225,1,101000,610000
+Chichester,E07000225,2,115000,610000
+Chichester,E07000225,3,282000,787000
+Chichester,E07000225,4,410000,2095000
+Chorley,E07000118,1,73000,333000
+Chorley,E07000118,2,100000,333000
+Chorley,E07000118,3,123000,393000
+Chorley,E07000118,4,234000,716000
+City of London,E09000001,1,467000,1026000
+City of London,E09000001,2,681000,2732000
+City of London,E09000001,3,1741000,5775000
+City of London,E09000001,4,1932000,2288000
+Colchester,E07000071,1,114000,383000
+Colchester,E07000071,2,164000,383000
+Colchester,E07000071,3,256000,490000
+Colchester,E07000071,4,364000,928000
+Cornwall,E06000052,1,98000,406000
+Cornwall,E06000052,2,102000,406000
+Cornwall,E06000052,3,161000,524000
+Cornwall,E06000052,4,250000,864000
+Cotswold,E07000079,1,74000,659000
+Cotswold,E07000079,2,121000,659000
+Cotswold,E07000079,3,181000,812000
+Cotswold,E07000079,4,408000,1603000
+County Durham,E06000047,1,55000,232000
+County Durham,E06000047,2,55000,232000
+County Durham,E06000047,3,72000,299000
+County Durham,E06000047,4,148000,593000
+Coventry,E08000026,1,88000,277000
+Coventry,E08000026,2,118000,277000
+Coventry,E08000026,3,165000,396000
+Coventry,E08000026,4,237000,783000
+Crawley,E07000226,1,159000,387000
+Crawley,E07000226,2,230000,416000
+Crawley,E07000226,3,315000,528000
+Crawley,E07000226,4,378000,794000
+Croydon,E09000008,1,115000,444000
+Croydon,E09000008,2,183000,553000
+Croydon,E09000008,3,341000,692000
+Croydon,E09000008,4,464000,1215000
+Cumberland,E06000063,1,67000,271000
+Cumberland,E06000063,2,81000,271000
+Cumberland,E06000063,3,96000,349000
+Cumberland,E06000063,4,153000,577000
+Dacorum,E07000096,1,174000,618000
+Dacorum,E07000096,2,234000,621000
+Dacorum,E07000096,3,354000,839000
+Dacorum,E07000096,4,478000,1765000
+Darlington,E06000005,1,56000,240000
+Darlington,E06000005,2,69000,240000
+Darlington,E06000005,3,91000,310000
+Darlington,E06000005,4,185000,614000
+Dartford,E07000107,1,117000,431000
+Dartford,E07000107,2,117000,431000
+Dartford,E07000107,3,307000,559000
+Dartford,E07000107,4,426000,963000
+Derby,E06000015,1,67000,258000
+Derby,E06000015,2,94000,258000
+Derby,E06000015,3,117000,352000
+Derby,E06000015,4,237000,646000
+Derbyshire Dales,E07000035,1,73000,474000
+Derbyshire Dales,E07000035,2,88000,474000
+Derbyshire Dales,E07000035,3,181000,601000
+Derbyshire Dales,E07000035,4,300000,973000
+Doncaster,E08000017,1,77000,233000
+Doncaster,E08000017,2,78000,233000
+Doncaster,E08000017,3,93000,286000
+Doncaster,E08000017,4,173000,582000
+Dorset,E06000059,1,112000,471000
+Dorset,E06000059,2,159000,471000
+Dorset,E06000059,3,231000,615000
+Dorset,E06000059,4,328000,1150000
+Dover,E07000108,1,109000,384000
+Dover,E07000108,2,120000,384000
+Dover,E07000108,3,190000,501000
+Dover,E07000108,4,265000,956000
+Dudley,E08000027,1,76000,281000
+Dudley,E08000027,2,102000,281000
+Dudley,E08000027,3,137000,371000
+Dudley,E08000027,4,209000,650000
+Ealing,E09000009,1,129000,574000
+Ealing,E09000009,2,195000,760000
+Ealing,E09000009,3,338000,1095000
+Ealing,E09000009,4,523000,2198000
+East Cambridgeshire,E07000009,1,120000,385000
+East Cambridgeshire,E07000009,2,128000,385000
+East Cambridgeshire,E07000009,3,227000,499000
+East Cambridgeshire,E07000009,4,331000,916000
+East Devon,E07000040,1,91000,459000
+East Devon,E07000040,2,114000,459000
+East Devon,E07000040,3,181000,593000
+East Devon,E07000040,4,324000,1123000
+East Hampshire,E07000085,1,122000,577000
+East Hampshire,E07000085,2,152000,577000
+East Hampshire,E07000085,3,288000,727000
+East Hampshire,E07000085,4,438000,1371000
+East Hertfordshire,E07000242,1,143000,578000
+East Hertfordshire,E07000242,2,170000,578000
+East Hertfordshire,E07000242,3,349000,816000
+East Hertfordshire,E07000242,4,512000,1582000
+East Lindsey,E07000137,1,68000,320000
+East Lindsey,E07000137,2,85000,320000
+East Lindsey,E07000137,3,112000,359000
+East Lindsey,E07000137,4,199000,699000
+East Riding of Yorkshire,E06000011,1,79000,322000
+East Riding of Yorkshire,E06000011,2,101000,322000
+East Riding of Yorkshire,E06000011,3,133000,376000
+East Riding of Yorkshire,E06000011,4,205000,717000
+East Staffordshire,E07000193,1,80000,330000
+East Staffordshire,E07000193,2,100000,330000
+East Staffordshire,E07000193,3,128000,379000
+East Staffordshire,E07000193,4,236000,753000
+East Suffolk,E07000244,1,94000,414000
+East Suffolk,E07000244,2,125000,414000
+East Suffolk,E07000244,3,147000,481000
+East Suffolk,E07000244,4,247000,913000
+Eastbourne,E07000061,1,121000,371000
+Eastbourne,E07000061,2,169000,371000
+Eastbourne,E07000061,3,238000,496000
+Eastbourne,E07000061,4,307000,870000
+Eastleigh,E07000086,1,113000,389000
+Eastleigh,E07000086,2,117000,389000
+Eastleigh,E07000086,3,202000,514000
+Eastleigh,E07000086,4,369000,936000
+Elmbridge,E07000207,1,145000,857000
+Elmbridge,E07000207,2,265000,857000
+Elmbridge,E07000207,3,462000,1175000
+Elmbridge,E07000207,4,668000,2805000
+Enfield,E09000010,1,126000,507000
+Enfield,E09000010,2,175000,600000
+Enfield,E09000010,3,336000,858000
+Enfield,E09000010,4,498000,1612000
+Epping Forest,E07000072,1,131000,697000
+Epping Forest,E07000072,2,287000,697000
+Epping Forest,E07000072,3,391000,923000
+Epping Forest,E07000072,4,545000,2007000
+Epsom and Ewell,E07000208,1,183000,693000
+Epsom and Ewell,E07000208,2,270000,693000
+Epsom and Ewell,E07000208,3,430000,929000
+Epsom and Ewell,E07000208,4,627000,1574000
+Erewash,E07000036,1,90000,270000
+Erewash,E07000036,2,99000,270000
+Erewash,E07000036,3,133000,362000
+Erewash,E07000036,4,211000,701000
+Exeter,E07000041,1,112000,402000
+Exeter,E07000041,2,130000,402000
+Exeter,E07000041,3,226000,500000
+Exeter,E07000041,4,329000,1005000
+Fareham,E07000087,1,127000,418000
+Fareham,E07000087,2,190000,418000
+Fareham,E07000087,3,265000,520000
+Fareham,E07000087,4,356000,943000
+Fenland,E07000010,1,85000,268000
+Fenland,E07000010,2,120000,268000
+Fenland,E07000010,3,154000,348000
+Fenland,E07000010,4,230000,594000
+Folkestone and Hythe,E07000112,1,106000,406000
+Folkestone and Hythe,E07000112,2,115000,406000
+Folkestone and Hythe,E07000112,3,208000,549000
+Folkestone and Hythe,E07000112,4,287000,883000
+Forest of Dean,E07000080,1,101000,439000
+Forest of Dean,E07000080,2,119000,439000
+Forest of Dean,E07000080,3,176000,522000
+Forest of Dean,E07000080,4,262000,872000
+Fylde,E07000119,1,87000,394000
+Fylde,E07000119,2,109000,407000
+Fylde,E07000119,3,127000,407000
+Fylde,E07000119,4,240000,763000
+Gateshead,E08000037,1,59000,229000
+Gateshead,E08000037,2,71000,229000
+Gateshead,E08000037,3,94000,337000
+Gateshead,E08000037,4,151000,583000
+Gedling,E07000173,1,77000,288000
+Gedling,E07000173,2,102000,288000
+Gedling,E07000173,3,147000,376000
+Gedling,E07000173,4,232000,747000
+Gloucester,E07000081,1,80000,302000
+Gloucester,E07000081,2,126000,302000
+Gloucester,E07000081,3,181000,397000
+Gloucester,E07000081,4,286000,619000
+Gosport,E07000088,1,107000,369000
+Gosport,E07000088,2,139000,370000
+Gosport,E07000088,3,201000,425000
+Gosport,E07000088,4,270000,791000
+Gravesham,E07000109,1,85000,432000
+Gravesham,E07000109,2,124000,432000
+Gravesham,E07000109,3,272000,549000
+Gravesham,E07000109,4,365000,1107000
+Great Yarmouth,E07000145,1,89000,287000
+Great Yarmouth,E07000145,2,93000,287000
+Great Yarmouth,E07000145,3,116000,352000
+Great Yarmouth,E07000145,4,178000,586000
+Greenwich,E09000011,1,115000,592000
+Greenwich,E09000011,2,158000,705000
+Greenwich,E09000011,3,283000,888000
+Greenwich,E09000011,4,410000,1778000
+Guildford,E07000209,1,124000,629000
+Guildford,E07000209,2,240000,738000
+Guildford,E07000209,3,387000,946000
+Guildford,E07000209,4,525000,2156000
+Hackney,E09000012,1,181000,698000
+Hackney,E09000012,2,236000,935000
+Hackney,E09000012,3,423000,1443000
+Hackney,E09000012,4,732000,2120000
+Halton,E06000006,1,76000,255000
+Halton,E06000006,2,87000,255000
+Halton,E06000006,3,102000,327000
+Halton,E06000006,4,174000,581000
+Hammersmith and Fulham,E09000013,1,206000,790000
+Hammersmith and Fulham,E09000013,2,395000,1248000
+Hammersmith and Fulham,E09000013,3,484000,1767000
+Hammersmith and Fulham,E09000013,4,1058000,3462000
+Harborough,E07000131,1,65000,458000
+Harborough,E07000131,2,65000,458000
+Harborough,E07000131,3,154000,535000
+Harborough,E07000131,4,352000,1070000
+Haringey,E09000014,1,155000,589000
+Haringey,E09000014,2,251000,862000
+Haringey,E09000014,3,406000,1279000
+Haringey,E09000014,4,644000,2638000
+Harlow,E07000073,1,128000,369000
+Harlow,E07000073,2,166000,422000
+Harlow,E07000073,3,283000,536000
+Harlow,E07000073,4,384000,920000
+Harrow,E09000015,1,129000,536000
+Harrow,E09000015,2,282000,623000
+Harrow,E09000015,3,418000,836000
+Harrow,E09000015,4,570000,1607000
+Hart,E07000089,1,108000,576000
+Hart,E07000089,2,150000,576000
+Hart,E07000089,3,351000,705000
+Hart,E07000089,4,508000,1431000
+Hartlepool,E06000001,1,56000,242000
+Hartlepool,E06000001,2,56000,242000
+Hartlepool,E06000001,3,77000,261000
+Hartlepool,E06000001,4,133000,559000
+Hastings,E07000062,1,106000,340000
+Hastings,E07000062,2,155000,381000
+Hastings,E07000062,3,214000,437000
+Hastings,E07000062,4,282000,727000
+Havant,E07000090,1,98000,414000
+Havant,E07000090,2,144000,414000
+Havant,E07000090,3,229000,501000
+Havant,E07000090,4,309000,855000
+Havering,E09000016,1,137000,472000
+Havering,E09000016,2,204000,481000
+Havering,E09000016,3,336000,657000
+Havering,E09000016,4,412000,1232000
+Herefordshire, County of,E06000019,1,98000,419000
+Herefordshire, County of,E06000019,2,105000,419000
+Herefordshire, County of,E06000019,3,162000,499000
+Herefordshire, County of,E06000019,4,283000,885000
+Hertsmere,E07000098,1,178000,666000
+Hertsmere,E07000098,2,316000,666000
+Hertsmere,E07000098,3,440000,918000
+Hertsmere,E07000098,4,591000,2232000
+High Peak,E07000037,1,110000,322000
+High Peak,E07000037,2,126000,322000
+High Peak,E07000037,3,161000,433000
+High Peak,E07000037,4,247000,804000
+Hillingdon,E09000017,1,132000,502000
+Hillingdon,E09000017,2,196000,577000
+Hillingdon,E09000017,3,401000,788000
+Hillingdon,E09000017,4,507000,1414000
+Hinckley and Bosworth,E07000132,1,99000,328000
+Hinckley and Bosworth,E07000132,2,110000,328000
+Hinckley and Bosworth,E07000132,3,164000,418000
+Hinckley and Bosworth,E07000132,4,270000,840000
+Horsham,E07000227,1,140000,529000
+Horsham,E07000227,2,140000,529000
+Horsham,E07000227,3,297000,745000
+Horsham,E07000227,4,496000,1513000
+Hounslow,E09000018,1,119000,563000
+Hounslow,E09000018,2,154000,733000
+Hounslow,E09000018,3,330000,1036000
+Hounslow,E09000018,4,475000,2743000
+Huntingdonshire,E07000011,1,91000,389000
+Huntingdonshire,E07000011,2,107000,389000
+Huntingdonshire,E07000011,3,208000,478000
+Huntingdonshire,E07000011,4,318000,814000
+Hyndburn,E07000120,1,66000,214000
+Hyndburn,E07000120,2,66000,214000
+Hyndburn,E07000120,3,87000,307000
+Hyndburn,E07000120,4,168000,587000
+Ipswich,E07000202,1,97000,309000
+Ipswich,E07000202,2,125000,309000
+Ipswich,E07000202,3,182000,399000
+Ipswich,E07000202,4,253000,851000
+Isle of Wight,E06000046,1,96000,352000
+Isle of Wight,E06000046,2,131000,352000
+Isle of Wight,E06000046,3,185000,452000
+Isle of Wight,E06000046,4,239000,827000
+Islington,E09000019,1,203000,741000
+Islington,E09000019,2,398000,1223000
+Islington,E09000019,3,490000,1891000
+Islington,E09000019,4,762000,2824000
+Kensington and Chelsea,E09000020,1,234000,1261000
+Kensington and Chelsea,E09000020,2,599000,2368000
+Kensington and Chelsea,E09000020,3,706000,4202000
+Kensington and Chelsea,E09000020,4,1405000,13278000
+King's Lynn and West Norfolk,E07000146,1,77000,346000
+King's Lynn and West Norfolk,E07000146,2,123000,346000
+King's Lynn and West Norfolk,E07000146,3,161000,408000
+King's Lynn and West Norfolk,E07000146,4,243000,778000
+Kingston upon Hull, City of,E06000010,1,63000,189000
+Kingston upon Hull, City of,E06000010,2,67000,189000
+Kingston upon Hull, City of,E06000010,3,84000,259000
+Kingston upon Hull, City of,E06000010,4,110000,415000
+Kingston upon Thames,E09000021,1,156000,649000
+Kingston upon Thames,E09000021,2,325000,708000
+Kingston upon Thames,E09000021,3,398000,935000
+Kingston upon Thames,E09000021,4,549000,1957000
+Kirklees,E08000034,1,70000,261000
+Kirklees,E08000034,2,85000,261000
+Kirklees,E08000034,3,115000,356000
+Kirklees,E08000034,4,198000,752000
+Knowsley,E08000011,1,74000,223000
+Knowsley,E08000011,2,74000,223000
+Knowsley,E08000011,3,94000,302000
+Knowsley,E08000011,4,134000,481000
+Lambeth,E09000022,1,166000,639000
+Lambeth,E09000022,2,242000,842000
+Lambeth,E09000022,3,392000,1259000
+Lambeth,E09000022,4,573000,2054000
+Lancaster,E07000121,1,79000,312000
+Lancaster,E07000121,2,93000,312000
+Lancaster,E07000121,3,126000,378000
+Lancaster,E07000121,4,147000,699000
+Leeds,E08000035,1,87000,323000
+Leeds,E08000035,2,101000,323000
+Leeds,E08000035,3,126000,435000
+Leeds,E08000035,4,181000,878000
+Leicester,E06000016,1,47000,282000
+Leicester,E06000016,2,82000,282000
+Leicester,E06000016,3,102000,364000
+Leicester,E06000016,4,235000,728000
+Lewes,E07000063,1,140000,528000
+Lewes,E07000063,2,204000,528000
+Lewes,E07000063,3,251000,725000
+Lewes,E07000063,4,363000,1374000
+Lewisham,E09000023,1,169000,506000
+Lewisham,E09000023,2,238000,675000
+Lewisham,E09000023,3,357000,881000
+Lewisham,E09000023,4,486000,1540000
+Lichfield,E07000194,1,100000,433000
+Lichfield,E07000194,2,100000,433000
+Lichfield,E07000194,3,176000,528000
+Lichfield,E07000194,4,296000,990000
+Lincoln,E07000138,1,63000,258000
+Lincoln,E07000138,2,85000,258000
+Lincoln,E07000138,3,132000,335000
+Lincoln,E07000138,4,195000,563000
+Liverpool,E08000012,1,76000,323000
+Liverpool,E08000012,2,76000,323000
+Liverpool,E08000012,3,95000,381000
+Liverpool,E08000012,4,138000,790000
+Luton,E06000032,1,123000,349000
+Luton,E06000032,2,154000,349000
+Luton,E06000032,3,253000,462000
+Luton,E06000032,4,310000,755000
+Maidstone,E07000110,1,75000,455000
+Maidstone,E07000110,2,121000,455000
+Maidstone,E07000110,3,217000,566000
+Maidstone,E07000110,4,402000,1099000
+Maldon,E07000074,1,127000,516000
+Maldon,E07000074,2,127000,516000
+Maldon,E07000074,3,293000,612000
+Maldon,E07000074,4,400000,1389000
+Malvern Hills,E07000235,1,103000,448000
+Malvern Hills,E07000235,2,103000,448000
+Malvern Hills,E07000235,3,201000,588000
+Malvern Hills,E07000235,4,330000,942000
+Manchester,E08000003,1,106000,348000
+Manchester,E08000003,2,106000,438000
+Manchester,E08000003,3,109000,517000
+Manchester,E08000003,4,165000,1108000
+Mansfield,E07000174,1,77000,270000
+Mansfield,E07000174,2,80000,270000
+Mansfield,E07000174,3,103000,305000
+Mansfield,E07000174,4,184000,544000
+Medway,E06000035,1,72000,375000
+Medway,E06000035,2,148000,375000
+Medway,E06000035,3,226000,484000
+Medway,E06000035,4,309000,758000
+Melton,E07000133,1,62000,393000
+Melton,E07000133,2,62000,393000
+Melton,E07000133,3,173000,464000
+Melton,E07000133,4,264000,1049000
+Mendip,E07000187,1,110000,417000
+Mendip,E07000187,2,121000,417000
+Mendip,E07000187,3,222000,525000
+Mendip,E07000187,4,320000,1134000
+Merton,E09000024,1,205000,696000
+Merton,E09000024,2,263000,792000
+Merton,E09000024,3,370000,1016000
+Merton,E09000024,4,508000,2679000
+Mid Devon,E07000042,1,100000,412000
+Mid Devon,E07000042,2,115000,412000
+Mid Devon,E07000042,3,189000,526000
+Mid Devon,E07000042,4,292000,931000
+Mid Suffolk,E07000203,1,111000,389000
+Mid Suffolk,E07000203,2,124000,389000
+Mid Suffolk,E07000203,3,218000,502000
+Mid Suffolk,E07000203,4,315000,962000
+Mid Sussex,E07000228,1,187000,548000
+Mid Sussex,E07000228,2,245000,548000
+Mid Sussex,E07000228,3,352000,713000
+Mid Sussex,E07000228,4,471000,1406000
+Middlesbrough,E06000002,1,54000,228000
+Middlesbrough,E06000002,2,63000,228000
+Middlesbrough,E06000002,3,80000,272000
+Middlesbrough,E06000002,4,183000,533000
+Milton Keynes,E06000042,1,67000,377000
+Milton Keynes,E06000042,2,93000,377000
+Milton Keynes,E06000042,3,207000,495000
+Milton Keynes,E06000042,4,354000,921000
+Mole Valley,E07000210,1,173000,743000
+Mole Valley,E07000210,2,261000,753000
+Mole Valley,E07000210,3,429000,981000
+Mole Valley,E07000210,4,617000,1913000
+New Forest,E07000091,1,127000,505000
+New Forest,E07000091,2,199000,556000
+New Forest,E07000091,3,272000,756000
+New Forest,E07000091,4,378000,1262000
+Newark and Sherwood,E07000175,1,92000,353000
+Newark and Sherwood,E07000175,2,92000,353000
+Newark and Sherwood,E07000175,3,122000,402000
+Newark and Sherwood,E07000175,4,233000,829000
+Newcastle upon Tyne,E08000021,1,58000,293000
+Newcastle upon Tyne,E08000021,2,69000,293000
+Newcastle upon Tyne,E08000021,3,88000,381000
+Newcastle upon Tyne,E08000021,4,170000,828000
+Newcastle-under-Lyme,E07000195,1,92000,245000
+Newcastle-under-Lyme,E07000195,2,92000,245000
+Newcastle-under-Lyme,E07000195,3,121000,348000
+Newcastle-under-Lyme,E07000195,4,205000,684000
+Newham,E09000025,1,111000,515000
+Newham,E09000025,2,149000,665000
+Newham,E09000025,3,246000,794000
+Newham,E09000025,4,425000,1108000
+North Devon,E07000043,1,92000,415000
+North Devon,E07000043,2,110000,415000
+North Devon,E07000043,3,170000,468000
+North Devon,E07000043,4,255000,831000
+North East Derbyshire,E07000038,1,79000,322000
+North East Derbyshire,E07000038,2,79000,322000
+North East Derbyshire,E07000038,3,117000,424000
+North East Derbyshire,E07000038,4,230000,882000
+North East Lincolnshire,E06000012,1,53000,255000
+North East Lincolnshire,E06000012,2,69000,255000
+North East Lincolnshire,E06000012,3,87000,283000
+North East Lincolnshire,E06000012,4,161000,562000
+North Hertfordshire,E07000099,1,108000,528000
+North Hertfordshire,E07000099,2,157000,528000
+North Hertfordshire,E07000099,3,318000,752000
+North Hertfordshire,E07000099,4,453000,1558000
+North Kesteven,E07000139,1,85000,339000
+North Kesteven,E07000139,2,85000,339000
+North Kesteven,E07000139,3,149000,367000
+North Kesteven,E07000139,4,250000,634000
+North Lincolnshire,E06000013,1,71000,291000
+North Lincolnshire,E06000013,2,84000,291000
+North Lincolnshire,E06000013,3,100000,305000
+North Lincolnshire,E06000013,4,186000,560000
+North Norfolk,E07000147,1,106000,403000
+North Norfolk,E07000147,2,136000,403000
+North Norfolk,E07000147,3,176000,507000
+North Norfolk,E07000147,4,251000,1072000
+North Northamptonshire,E06000061,1,79000,330000
+North Northamptonshire,E06000061,2,95000,330000
+North Northamptonshire,E06000061,3,170000,407000
+North Northamptonshire,E06000061,4,270000,782000
+North Somerset,E06000024,1,108000,430000
+North Somerset,E06000024,2,145000,430000
+North Somerset,E06000024,3,222000,588000
+North Somerset,E06000024,4,306000,1105000
+North Tyneside,E08000022,1,69000,263000
+North Tyneside,E08000022,2,69000,263000
+North Tyneside,E08000022,3,91000,373000
+North Tyneside,E08000022,4,205000,619000
+North Warwickshire,E07000218,1,112000,369000
+North Warwickshire,E07000218,2,118000,369000
+North Warwickshire,E07000218,3,153000,434000
+North Warwickshire,E07000218,4,260000,968000
+North West Leicestershire,E07000134,1,103000,315000
+North West Leicestershire,E07000134,2,103000,315000
+North West Leicestershire,E07000134,3,130000,398000
+North West Leicestershire,E07000134,4,271000,733000
+North Yorkshire,E06000065,1,81000,384000
+North Yorkshire,E06000065,2,108000,384000
+North Yorkshire,E06000065,3,143000,496000
+North Yorkshire,E06000065,4,234000,1005000
+Northumberland,E06000057,1,62000,333000
+Northumberland,E06000057,2,64000,333000
+Northumberland,E06000057,3,95000,376000
+Northumberland,E06000057,4,188000,790000
+Norwich,E07000148,1,83000,263000
+Norwich,E07000148,2,83000,346000
+Norwich,E07000148,3,149000,466000
+Norwich,E07000148,4,230000,960000
+Nottingham,E06000018,1,72000,304000
+Nottingham,E06000018,2,79000,304000
+Nottingham,E06000018,3,89000,350000
+Nottingham,E06000018,4,165000,761000
+Nuneaton and Bedworth,E07000219,1,95000,266000
+Nuneaton and Bedworth,E07000219,2,98000,266000
+Nuneaton and Bedworth,E07000219,3,142000,356000
+Nuneaton and Bedworth,E07000219,4,225000,637000
+Oadby and Wigston,E07000135,1,90000,303000
+Oadby and Wigston,E07000135,2,125000,303000
+Oadby and Wigston,E07000135,3,188000,401000
+Oadby and Wigston,E07000135,4,295000,911000
+Oldham,E08000004,1,85000,262000
+Oldham,E08000004,2,85000,262000
+Oldham,E08000004,3,107000,357000
+Oldham,E08000004,4,160000,789000
+Oxford,E07000178,1,126000,656000
+Oxford,E07000178,2,198000,707000
+Oxford,E07000178,3,328000,794000
+Oxford,E07000178,4,440000,2267000
+Pendle,E07000122,1,59000,251000
+Pendle,E07000122,2,60000,251000
+Pendle,E07000122,3,81000,366000
+Pendle,E07000122,4,155000,700000
+Peterborough,E06000031,1,75000,282000
+Peterborough,E06000031,2,89000,282000
+Peterborough,E06000031,3,152000,337000
+Peterborough,E06000031,4,223000,697000
+Plymouth,E06000026,1,91000,320000
+Plymouth,E06000026,2,95000,320000
+Plymouth,E06000026,3,148000,370000
+Plymouth,E06000026,4,218000,635000
+Portsmouth,E06000044,1,107000,332000
+Portsmouth,E06000044,2,145000,341000
+Portsmouth,E06000044,3,202000,451000
+Portsmouth,E06000044,4,276000,875000
+Preston,E07000123,1,47000,253000
+Preston,E07000123,2,82000,253000
+Preston,E07000123,3,106000,329000
+Preston,E07000123,4,197000,649000
+Reading,E06000038,1,141000,434000
+Reading,E06000038,2,228000,471000
+Reading,E06000038,3,319000,662000
+Reading,E06000038,4,428000,1149000
+Redbridge,E09000026,1,102000,497000
+Redbridge,E09000026,2,162000,639000
+Redbridge,E09000026,3,355000,826000
+Redbridge,E09000026,4,488000,1329000
+Redcar and Cleveland,E06000003,1,62000,244000
+Redcar and Cleveland,E06000003,2,62000,244000
+Redcar and Cleveland,E06000003,3,82000,273000
+Redcar and Cleveland,E06000003,4,158000,482000
+Redditch,E07000236,1,57000,296000
+Redditch,E07000236,2,102000,296000
+Redditch,E07000236,3,157000,389000
+Redditch,E07000236,4,258000,627000
+Reigate and Banstead,E07000211,1,154000,574000
+Reigate and Banstead,E07000211,2,154000,574000
+Reigate and Banstead,E07000211,3,383000,864000
+Reigate and Banstead,E07000211,4,522000,1872000
+Ribble Valley,E07000124,1,116000,350000
+Ribble Valley,E07000124,2,116000,350000
+Ribble Valley,E07000124,3,131000,483000
+Ribble Valley,E07000124,4,282000,935000
+Richmond upon Thames,E09000027,1,218000,798000
+Richmond upon Thames,E09000027,2,346000,978000
+Richmond upon Thames,E09000027,3,481000,1355000
+Richmond upon Thames,E09000027,4,686000,2642000
+Rochdale,E08000005,1,73000,224000
+Rochdale,E08000005,2,75000,224000
+Rochdale,E08000005,3,102000,316000
+Rochdale,E08000005,4,174000,594000
+Rochford,E07000075,1,147000,494000
+Rochford,E07000075,2,237000,494000
+Rochford,E07000075,3,320000,585000
+Rochford,E07000075,4,406000,1011000
+Rossendale,E07000125,1,64000,283000
+Rossendale,E07000125,2,77000,283000
+Rossendale,E07000125,3,108000,383000
+Rossendale,E07000125,4,188000,736000
+Rother,E07000064,1,104000,406000
+Rother,E07000064,2,151000,456000
+Rother,E07000064,3,233000,628000
+Rother,E07000064,4,350000,1165000
+Rotherham,E08000018,1,69000,246000
+Rotherham,E08000018,2,73000,246000
+Rotherham,E08000018,3,90000,305000
+Rotherham,E08000018,4,174000,574000
+Rugby,E07000220,1,109000,343000
+Rugby,E07000220,2,109000,343000
+Rugby,E07000220,3,184000,441000
+Rugby,E07000220,4,314000,835000
+Runnymede,E07000212,1,143000,543000
+Runnymede,E07000212,2,177000,582000
+Runnymede,E07000212,3,398000,819000
+Runnymede,E07000212,4,537000,1644000
+Rushcliffe,E07000176,1,99000,512000
+Rushcliffe,E07000176,2,99000,512000
+Rushcliffe,E07000176,3,178000,528000
+Rushcliffe,E07000176,4,329000,950000
+Rushmoor,E07000092,1,107000,413000
+Rushmoor,E07000092,2,183000,413000
+Rushmoor,E07000092,3,317000,555000
+Rushmoor,E07000092,4,433000,831000
+Rutland,E06000017,1,89000,390000
+Rutland,E06000017,2,89000,452000
+Rutland,E06000017,3,191000,615000
+Rutland,E06000017,4,333000,1262000
+Salford,E08000006,1,94000,355000
+Salford,E08000006,2,105000,355000
+Salford,E08000006,3,131000,396000
+Salford,E08000006,4,210000,784000
+Sandwell,E08000028,1,72000,241000
+Sandwell,E08000028,2,96000,241000
+Sandwell,E08000028,3,125000,323000
+Sandwell,E08000028,4,185000,465000
+Sefton,E08000014,1,78000,361000
+Sefton,E08000014,2,86000,361000
+Sefton,E08000014,3,105000,376000
+Sefton,E08000014,4,182000,841000
+Sevenoaks,E07000111,1,186000,677000
+Sevenoaks,E07000111,2,186000,677000
+Sevenoaks,E07000111,3,327000,940000
+Sevenoaks,E07000111,4,470000,2260000
+Sheffield,E08000019,1,76000,318000
+Sheffield,E08000019,2,79000,318000
+Sheffield,E08000019,3,108000,423000
+Sheffield,E08000019,4,211000,921000
+Shropshire,E06000051,1,85000,407000
+Shropshire,E06000051,2,108000,407000
+Shropshire,E06000051,3,164000,465000
+Shropshire,E06000051,4,252000,849000
+Slough,E06000039,1,163000,446000
+Slough,E06000039,2,224000,462000
+Slough,E06000039,3,352000,685000
+Slough,E06000039,4,432000,1004000
+Solihull,E08000029,1,93000,516000
+Solihull,E08000029,2,124000,516000
+Solihull,E08000029,3,162000,571000
+Solihull,E08000029,4,343000,1276000
+Somerset,E06000066,1,97000,376000
+Somerset,E06000066,2,120000,376000
+Somerset,E06000066,3,181000,469000
+Somerset,E06000066,4,278000,917000
+South Cambridgeshire,E07000012,1,137000,510000
+South Cambridgeshire,E07000012,2,164000,510000
+South Cambridgeshire,E07000012,3,271000,685000
+South Cambridgeshire,E07000012,4,403000,1219000
+South Derbyshire,E07000039,1,93000,330000
+South Derbyshire,E07000039,2,93000,330000
+South Derbyshire,E07000039,3,150000,380000
+South Derbyshire,E07000039,4,257000,747000
+South Gloucestershire,E06000025,1,95000,395000
+South Gloucestershire,E06000025,2,143000,395000
+South Gloucestershire,E06000025,3,263000,510000
+South Gloucestershire,E06000025,4,387000,890000
+South Hams,E07000044,1,106000,503000
+South Hams,E07000044,2,106000,503000
+South Hams,E07000044,3,207000,696000
+South Hams,E07000044,4,335000,1182000
+South Holland,E07000140,1,69000,278000
+South Holland,E07000140,2,69000,278000
+South Holland,E07000140,3,138000,367000
+South Holland,E07000140,4,238000,622000
+South Kesteven,E07000141,1,85000,358000
+South Kesteven,E07000141,2,92000,358000
+South Kesteven,E07000141,3,143000,448000
+South Kesteven,E07000141,4,250000,903000
+South Norfolk,E07000149,1,107000,364000
+South Norfolk,E07000149,2,107000,364000
+South Norfolk,E07000149,3,214000,482000
+South Norfolk,E07000149,4,295000,810000
+South Oxfordshire,E07000179,1,152000,615000
+South Oxfordshire,E07000179,2,152000,615000
+South Oxfordshire,E07000179,3,290000,784000
+South Oxfordshire,E07000179,4,440000,1898000
+South Ribble,E07000126,1,96000,282000
+South Ribble,E07000126,2,96000,282000
+South Ribble,E07000126,3,136000,337000
+South Ribble,E07000126,4,226000,640000
+South Staffordshire,E07000196,1,90000,369000
+South Staffordshire,E07000196,2,98000,369000
+South Staffordshire,E07000196,3,169000,475000
+South Staffordshire,E07000196,4,258000,850000
+South Tyneside,E08000023,1,58000,248000
+South Tyneside,E08000023,2,67000,248000
+South Tyneside,E08000023,3,80000,324000
+South Tyneside,E08000023,4,162000,624000
+Southampton,E06000045,1,80000,254000
+Southampton,E06000045,2,149000,348000
+Southampton,E06000045,3,216000,449000
+Southampton,E06000045,4,265000,794000
+Southend-on-Sea,E06000033,1,128000,451000
+Southend-on-Sea,E06000033,2,154000,503000
+Southend-on-Sea,E06000033,3,277000,658000
+Southend-on-Sea,E06000033,4,376000,1133000
+Southwark,E09000028,1,144000,676000
+Southwark,E09000028,2,185000,928000
+Southwark,E09000028,3,342000,1257000
+Southwark,E09000028,4,574000,2501000
+Spelthorne,E07000213,1,227000,560000
+Spelthorne,E07000213,2,293000,580000
+Spelthorne,E07000213,3,392000,768000
+Spelthorne,E07000213,4,524000,1262000
+St Albans,E07000240,1,194000,818000
+St Albans,E07000240,2,303000,818000
+St Albans,E07000240,3,443000,1077000
+St Albans,E07000240,4,679000,2067000
+St. Helens,E08000013,1,76000,226000
+St. Helens,E08000013,2,78000,226000
+St. Helens,E08000013,3,97000,315000
+St. Helens,E08000013,4,174000,628000
+Stafford,E07000197,1,76000,360000
+Stafford,E07000197,2,87000,360000
+Stafford,E07000197,3,150000,432000
+Stafford,E07000197,4,257000,736000
+Staffordshire Moorlands,E07000198,1,96000,347000
+Staffordshire Moorlands,E07000198,2,109000,347000
+Staffordshire Moorlands,E07000198,3,141000,442000
+Staffordshire Moorlands,E07000198,4,216000,826000
+Stevenage,E07000243,1,88000,392000
+Stevenage,E07000243,2,109000,392000
+Stevenage,E07000243,3,297000,504000
+Stevenage,E07000243,4,328000,848000
+Stockport,E08000007,1,95000,396000
+Stockport,E08000007,2,100000,396000
+Stockport,E08000007,3,174000,527000
+Stockport,E08000007,4,302000,1084000
+Stockton-on-Tees,E06000004,1,59000,245000
+Stockton-on-Tees,E06000004,2,59000,245000
+Stockton-on-Tees,E06000004,3,86000,302000
+Stockton-on-Tees,E06000004,4,178000,643000
+Stoke-on-Trent,E06000021,1,71000,197000
+Stoke-on-Trent,E06000021,2,72000,197000
+Stoke-on-Trent,E06000021,3,85000,287000
+Stoke-on-Trent,E06000021,4,178000,540000
+Stratford-on-Avon,E07000221,1,112000,487000
+Stratford-on-Avon,E07000221,2,112000,487000
+Stratford-on-Avon,E07000221,3,198000,649000
+Stratford-on-Avon,E07000221,4,384000,1338000
+Stroud,E07000082,1,99000,436000
+Stroud,E07000082,2,121000,436000
+Stroud,E07000082,3,220000,589000
+Stroud,E07000082,4,330000,1123000
+Sunderland,E08000024,1,60000,213000
+Sunderland,E08000024,2,66000,213000
+Sunderland,E08000024,3,81000,282000
+Sunderland,E08000024,4,139000,514000
+Surrey Heath,E07000214,1,160000,574000
+Surrey Heath,E07000214,2,160000,574000
+Surrey Heath,E07000214,3,366000,731000
+Surrey Heath,E07000214,4,528000,1387000
+Sutton,E09000029,1,128000,443000
+Sutton,E09000029,2,236000,495000
+Sutton,E09000029,3,362000,692000
+Sutton,E09000029,4,506000,1252000
+Swale,E07000113,1,116000,371000
+Swale,E07000113,2,121000,371000
+Swale,E07000113,3,207000,487000
+Swale,E07000113,4,318000,943000
+Swindon,E06000030,1,114000,317000
+Swindon,E06000030,2,118000,317000
+Swindon,E06000030,3,208000,433000
+Swindon,E06000030,4,322000,768000
+Tameside,E08000008,1,98000,237000
+Tameside,E08000008,2,110000,237000
+Tameside,E08000008,3,139000,336000
+Tameside,E08000008,4,209000,679000
+Tamworth,E07000199,1,102000,269000
+Tamworth,E07000199,2,116000,269000
+Tamworth,E07000199,3,159000,381000
+Tamworth,E07000199,4,243000,609000
+Tandridge,E07000215,1,189000,601000
+Tandridge,E07000215,2,225000,601000
+Tandridge,E07000215,3,392000,876000
+Tandridge,E07000215,4,532000,1958000
+Teignbridge,E07000045,1,98000,419000
+Teignbridge,E07000045,2,112000,419000
+Teignbridge,E07000045,3,208000,511000
+Teignbridge,E07000045,4,302000,952000
+Telford and Wrekin,E06000020,1,86000,260000
+Telford and Wrekin,E06000020,2,96000,260000
+Telford and Wrekin,E06000020,3,118000,332000
+Telford and Wrekin,E06000020,4,210000,618000
+Tendring,E07000076,1,82000,360000
+Tendring,E07000076,2,137000,360000
+Tendring,E07000076,3,184000,471000
+Tendring,E07000076,4,281000,915000
+Test Valley,E07000093,1,112000,503000
+Test Valley,E07000093,2,114000,511000
+Test Valley,E07000093,3,216000,577000
+Test Valley,E07000093,4,357000,1156000
+Tewkesbury,E07000083,1,72000,365000
+Tewkesbury,E07000083,2,102000,365000
+Tewkesbury,E07000083,3,155000,510000
+Tewkesbury,E07000083,4,352000,928000
+Thanet,E07000114,1,101000,377000
+Thanet,E07000114,2,153000,377000
+Thanet,E07000114,3,217000,484000
+Thanet,E07000114,4,292000,814000
+Three Rivers,E07000102,1,215000,574000
+Three Rivers,E07000102,2,287000,772000
+Three Rivers,E07000102,3,423000,1000000
+Three Rivers,E07000102,4,612000,2138000
+Thurrock,E06000034,1,134000,400000
+Thurrock,E06000034,2,176000,400000
+Thurrock,E06000034,3,277000,513000
+Thurrock,E06000034,4,377000,804000
+Tonbridge and Malling,E07000115,1,123000,472000
+Tonbridge and Malling,E07000115,2,133000,472000
+Tonbridge and Malling,E07000115,3,293000,691000
+Tonbridge and Malling,E07000115,4,439000,1315000
+Torbay,E06000027,1,92000,383000
+Torbay,E06000027,2,120000,383000
+Torbay,E06000027,3,174000,443000
+Torbay,E06000027,4,235000,779000
+Torridge,E07000046,1,110000,372000
+Torridge,E07000046,2,136000,372000
+Torridge,E07000046,3,181000,513000
+Torridge,E07000046,4,249000,807000
+Tower Hamlets,E09000030,1,153000,616000
+Tower Hamlets,E09000030,2,204000,872000
+Tower Hamlets,E09000030,3,261000,1335000
+Tower Hamlets,E09000030,4,448000,1896000
+Trafford,E08000009,1,102000,518000
+Trafford,E08000009,2,151000,518000
+Trafford,E08000009,3,212000,619000
+Trafford,E08000009,4,346000,1630000
+Tunbridge Wells,E07000116,1,102000,578000
+Tunbridge Wells,E07000116,2,143000,578000
+Tunbridge Wells,E07000116,3,326000,843000
+Tunbridge Wells,E07000116,4,490000,1729000
+Uttlesford,E07000077,1,83000,543000
+Uttlesford,E07000077,2,141000,543000
+Uttlesford,E07000077,3,266000,687000
+Uttlesford,E07000077,4,476000,1497000
+Vale of White Horse,E07000180,1,98000,473000
+Vale of White Horse,E07000180,2,132000,473000
+Vale of White Horse,E07000180,3,274000,585000
+Vale of White Horse,E07000180,4,409000,1157000
+Wakefield,E08000036,1,74000,233000
+Wakefield,E08000036,2,88000,233000
+Wakefield,E08000036,3,107000,322000
+Wakefield,E08000036,4,192000,605000
+Walsall,E08000030,1,79000,275000
+Walsall,E08000030,2,99000,275000
+Walsall,E08000030,3,121000,383000
+Walsall,E08000030,4,204000,853000
+Waltham Forest,E09000031,1,146000,538000
+Waltham Forest,E09000031,2,256000,643000
+Waltham Forest,E09000031,3,401000,821000
+Waltham Forest,E09000031,4,510000,1068000
+Wandsworth,E09000032,1,172000,715000
+Wandsworth,E09000032,2,284000,973000
+Wandsworth,E09000032,3,459000,1399000
+Wandsworth,E09000032,4,802000,2725000
+Warrington,E06000007,1,92000,361000
+Warrington,E06000007,2,108000,361000
+Warrington,E06000007,3,134000,449000
+Warrington,E06000007,4,251000,946000
+Warwick,E07000222,1,104000,473000
+Warwick,E07000222,2,139000,473000
+Warwick,E07000222,3,265000,647000
+Warwick,E07000222,4,421000,1253000
+Watford,E07000103,1,198000,516000
+Watford,E07000103,2,281000,547000
+Watford,E07000103,3,402000,849000
+Watford,E07000103,4,520000,1495000
+Waverley,E07000216,1,162000,723000
+Waverley,E07000216,2,206000,723000
+Waverley,E07000216,3,382000,929000
+Waverley,E07000216,4,565000,2204000
+Wealden,E07000065,1,129000,521000
+Wealden,E07000065,2,174000,521000
+Wealden,E07000065,3,264000,691000
+Wealden,E07000065,4,390000,1515000
+Welwyn Hatfield,E07000241,1,104000,482000
+Welwyn Hatfield,E07000241,2,149000,590000
+Welwyn Hatfield,E07000241,3,331000,824000
+Welwyn Hatfield,E07000241,4,493000,1714000
+West Berkshire,E06000037,1,97000,515000
+West Berkshire,E06000037,2,136000,515000
+West Berkshire,E06000037,3,312000,696000
+West Berkshire,E06000037,4,452000,1531000
+West Devon,E07000047,1,95000,421000
+West Devon,E07000047,2,145000,421000
+West Devon,E07000047,3,205000,527000
+West Devon,E07000047,4,259000,1018000
+West Lancashire,E07000127,1,57000,411000
+West Lancashire,E07000127,2,81000,411000
+West Lancashire,E07000127,3,81000,432000
+West Lancashire,E07000127,4,133000,880000
+West Lindsey,E07000142,1,78000,319000
+West Lindsey,E07000142,2,78000,319000
+West Lindsey,E07000142,3,110000,372000
+West Lindsey,E07000142,4,195000,691000
+West Northamptonshire,E06000062,1,59000,371000
+West Northamptonshire,E06000062,2,99000,371000
+West Northamptonshire,E06000062,3,185000,477000
+West Northamptonshire,E06000062,4,320000,947000
+West Oxfordshire,E07000181,1,119000,483000
+West Oxfordshire,E07000181,2,122000,483000
+West Oxfordshire,E07000181,3,279000,636000
+West Oxfordshire,E07000181,4,377000,1202000
+West Suffolk,E07000245,1,104000,367000
+West Suffolk,E07000245,2,126000,367000
+West Suffolk,E07000245,3,192000,475000
+West Suffolk,E07000245,4,278000,893000
+Westminster,E09000033,1,281000,1026000
+Westminster,E09000033,2,478000,2045000
+Westminster,E09000033,3,560000,3377000
+Westminster,E09000033,4,869000,11513000
+Westmorland,E06000064,1,81000,346000
+Westmorland,E06000064,2,81000,346000
+Westmorland,E06000064,3,114000,458000
+Westmorland,E06000064,4,195000,770000
+Wigan,E08000010,1,81000,243000
+Wigan,E08000010,2,81000,243000
+Wigan,E08000010,3,99000,318000
+Wigan,E08000010,4,197000,530000
+Wiltshire,E06000054,1,105000,438000
+Wiltshire,E06000054,2,120000,438000
+Wiltshire,E06000054,3,225000,565000
+Wiltshire,E06000054,4,341000,1139000
+Winchester,E07000094,1,124000,624000
+Winchester,E07000094,2,138000,660000
+Winchester,E07000094,3,298000,893000
+Winchester,E07000094,4,458000,1615000
+Windsor and Maidenhead,E06000040,1,228000,695000
+Windsor and Maidenhead,E06000040,2,307000,695000
+Windsor and Maidenhead,E06000040,3,422000,974000
+Windsor and Maidenhead,E06000040,4,597000,2059000
+Wirral,E08000015,1,77000,350000
+Wirral,E08000015,2,89000,350000
+Wirral,E08000015,3,112000,375000
+Wirral,E08000015,4,161000,818000
+Woking,E07000217,1,191000,570000
+Woking,E07000217,2,279000,570000
+Woking,E07000217,3,393000,875000
+Woking,E07000217,4,538000,1750000
+Wokingham,E06000041,1,140000,546000
+Wokingham,E06000041,2,151000,546000
+Wokingham,E06000041,3,290000,686000
+Wokingham,E06000041,4,518000,1299000
+Wolverhampton,E08000031,1,43000,249000
+Wolverhampton,E08000031,2,69000,249000
+Wolverhampton,E08000031,3,101000,327000
+Wolverhampton,E08000031,4,170000,703000
+Worcester,E07000237,1,90000,309000
+Worcester,E07000237,2,138000,309000
+Worcester,E07000237,3,190000,423000
+Worcester,E07000237,4,290000,793000
+Worthing,E07000229,1,148000,460000
+Worthing,E07000229,2,188000,465000
+Worthing,E07000229,3,297000,586000
+Worthing,E07000229,4,393000,864000
+Wychavon,E07000238,1,100000,432000
+Wychavon,E07000238,2,100000,452000
+Wychavon,E07000238,3,167000,546000
+Wychavon,E07000238,4,320000,969000
+Wyre,E07000128,1,72000,328000
+Wyre,E07000128,2,87000,328000
+Wyre,E07000128,3,114000,381000
+Wyre,E07000128,4,199000,648000
+Wyre Forest,E07000239,1,93000,358000
+Wyre Forest,E07000239,2,100000,358000
+Wyre Forest,E07000239,3,146000,398000
+Wyre Forest,E07000239,4,231000,825000
+York,E06000014,1,105000,414000
+York,E06000014,2,173000,414000
+York,E06000014,3,220000,529000
+York,E06000014,4,322000,983000
diff --git a/db/migrate/20230210143120_add_ethnic_fields_for_buyer2.rb b/db/migrate/20230210143120_add_ethnic_fields_for_buyer2.rb
new file mode 100644
index 000000000..c545a0539
--- /dev/null
+++ b/db/migrate/20230210143120_add_ethnic_fields_for_buyer2.rb
@@ -0,0 +1,8 @@
+class AddEthnicFieldsForBuyer2 < ActiveRecord::Migration[7.0]
+ def change
+ change_table :sales_logs, bulk: true do |t|
+ t.column :ethnic_group2, :integer
+ t.column :ethnicbuy2, :integer
+ end
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 09d83a841..ffea32c01 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema[7.0].define(version: 2023_02_10_122037) do
+ActiveRecord::Schema[7.0].define(version: 2023_02_10_143120) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -524,8 +524,10 @@ ActiveRecord::Schema[7.0].define(version: 2023_02_10_122037) do
t.integer "details_known_5"
t.integer "details_known_6"
t.integer "saledate_check"
- t.integer "prevshared"
t.integer "staircasesale"
+ t.integer "prevshared"
+ t.integer "ethnic_group2"
+ t.integer "ethnicbuy2"
t.index ["bulk_upload_id"], name: "index_sales_logs_on_bulk_upload_id"
t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id"
t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id"
diff --git a/spec/fixtures/exports/general_needs_log.csv b/spec/fixtures/exports/general_needs_log.csv
index afaa9e745..8cc656f19 100644
--- a/spec/fixtures/exports/general_needs_log.csv
+++ b/spec/fixtures/exports/general_needs_log.csv
@@ -1,2 +1,2 @@
-status,tenancycode,age1,sex1,ethnic,national,prevten,ecstat1,hhmemb,age2,sex2,ecstat2,age3,sex3,ecstat3,age4,sex4,ecstat4,age5,sex5,ecstat5,age6,sex6,ecstat6,age7,sex7,ecstat7,age8,sex8,ecstat8,homeless,underoccupation_benefitcap,leftreg,reservist,illness,preg_occ,startertenancy,tenancylength,tenancy,ppostcode_full,rsnvac,unittype_gn,beds,offered,wchair,earnings,incfreq,benefits,period,layear,waityear,postcode_full,reasonpref,cbl,chr,cap,reasonother,housingneeds_a,housingneeds_b,housingneeds_c,housingneeds_f,housingneeds_g,housingneeds_h,illness_type_1,illness_type_2,illness_type_3,illness_type_4,illness_type_8,illness_type_5,illness_type_6,illness_type_7,illness_type_9,illness_type_10,rp_homeless,rp_insan_unsat,rp_medwel,rp_hardship,rp_dontknow,tenancyother,irproduct_other,reason,propcode,la,prevloc,hb,hbrentshortfall,mrcdate,incref,startdate,armedforces,unitletas,builtype,voiddate,renttype,needstype,lettype,totchild,totelder,totadult,nocharge,referral,brent,scharge,pscharge,supcharg,tcharge,tshortfall,chcharge,ppcodenk,has_benefits,renewal,wrent,wscharge,wpschrge,wsupchrg,wtcharge,wtshortfall,refused,housingneeds,wchchrg,newprop,relat2,relat3,relat4,relat5,relat6,relat7,relat8,lar,irproduct,joint,sheltered,hhtype,new_old,vacdays,form,owningorgid,owningorgname,hcnum,maningorgid,maningorgname,manhcnum,createddate,uploaddate
+status,tenancycode,age1,sex1,ethnic,national,prevten,ecstat1,hhmemb,age2,sex2,ecstat2,age3,sex3,ecstat3,age4,sex4,ecstat4,age5,sex5,ecstat5,age6,sex6,ecstat6,age7,sex7,ecstat7,age8,sex8,ecstat8,homeless,underoccupation_benefitcap,leftreg,reservist,illness,preg_occ,startertenancy,tenancylength,tenancy,ppostcode_full,rsnvac,unittype_gn,beds,offered,wchair,earnings,incfreq,benefits,period,layear,waityear,postcode_full,reasonpref,cbl,chr,cap,reasonother,housingneeds_a,housingneeds_b,housingneeds_c,housingneeds_f,housingneeds_g,housingneeds_h,illness_type_1,illness_type_2,illness_type_3,illness_type_4,illness_type_8,illness_type_5,illness_type_6,illness_type_7,illness_type_9,illness_type_10,rp_homeless,rp_insan_unsat,rp_medwel,rp_hardship,rp_dontknow,tenancyother,irproduct_other,reason,propcode,la,prevloc,hb,hbrentshortfall,mrcdate,incref,startdate,armedforces,unitletas,builtype,voiddate,renttype,needstype,lettype,totchild,totelder,totadult,nocharge,referral,brent,scharge,pscharge,supcharg,tcharge,tshortfall,chcharge,ppcodenk,has_benefits,renewal,wrent,wscharge,wpschrge,wsupchrg,wtcharge,wtshortfall,refused,housingneeds,wchchrg,newprop,relat2,relat3,relat4,relat5,relat6,relat7,relat8,lar,irproduct,joint,sheltered,hhtype,new_old,vacdays,formid,owningorgid,owningorgname,hcnum,maningorgid,maningorgname,manhcnum,createddate,uploaddate
2,BZ737,35,F,2,4,6,0,2,32,M,6,,,,,,,,,,,,,,,,,,,1,4,1,1,1,2,1,5,1,SE2 6RT,6,7,3,2,1,68,1,1,2,2,1,NW1 5TY,1,2,1,2,,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,,,4,123,E09000003,E07000105,6,1,2020-05-05T10:36:49+01:00,0,2022-02-02T10:36:49+00:00,1,2,1,2019-11-03T00:00:00+00:00,2,1,7,0,0,2,0,2,200.0,50.0,40.0,35.0,325.0,12.0,,1,1,0,100.0,25.0,20.0,17.5,162.5,6.0,0,1,,2,P,,,,,,,,,,,4,2,638,{id},{owning_org_id},DLUHC,1234,{managing_org_id},DLUHC,1234,2022-02-08T16:52:15+00:00,2022-02-08T16:52:15+00:00
diff --git a/spec/fixtures/exports/general_needs_log.xml b/spec/fixtures/exports/general_needs_log.xml
index 1e60333dc..62542af54 100644
--- a/spec/fixtures/exports/general_needs_log.xml
+++ b/spec/fixtures/exports/general_needs_log.xml
@@ -135,7 +135,7 @@