-Returns data from voterprefs table