New code to reshape professions data after excel collation