group by elections, then officials in issues, and get data from get-issues in this format