This package contains all the codes necessary to replicate the tables and figures in the manuscript. It does not contain Afrobarometer survey data, which are subject to redistribution restrictions (see Section 3). All other data, the Cline Center Coup D'État Project, GDP per capita, Gini/poverty measures, and border-pair identifiers, are included.