Replication package for the paper "The samurai bond: credit supply, market access, and structural transformation in pre-war Japan" published in the Journal of Economic History.