The Measurement of Territorial Homogeneity: A Test on Comparative Electoral Data Since 1832