Revolutions, earthquakes and Latin America: the networks look at Allende's Chile and Samoza's Nicaragua