|
|
|
|
@ -58,7 +58,7 @@ module Imports
|
|
|
|
|
attributes["proptype"] = unsafe_string_as_integer(xml_doc, "Q12PROPERTYTYPE") |
|
|
|
|
attributes["noint"] = safe_string_as_integer(xml_doc, "NOINT") |
|
|
|
|
attributes["buy2livein"] = unsafe_string_as_integer(xml_doc, "LIVEINBUYER2") # liveinbuyer2? |
|
|
|
|
attributes["privacynotice"] = nil # always yes? |
|
|
|
|
attributes["privacynotice"] = 1 if string_or_nil(xml_doc, "QDP") == "Yes" # always yes? |
|
|
|
|
attributes["wheel"] = unsafe_string_as_integer(xml_doc, "Q10WHEELCHAIR") |
|
|
|
|
attributes["hholdcount"] = attributes["hhmemb"] - (attributes["jointpur"] == 1 ? 2 : 1) |
|
|
|
|
attributes["la"] = string_or_nil(xml_doc, "Q14ONSLACODE") |
|
|
|
|
|