selectHouseholdData function

Creates a household level file from a dataset with a household structure.