add simpler function for extracting poll data by categorization