optimise household_characteristics as there's a lot of repeated code. should make the sections a bit easier to manage