Code for "Growth in the Shadow of Expropriation", Quarterly Journal of Economics. May 2011, 126(2), p.651-697.