electoral data analysis