Essays in Spatial Economic Analysis at the Firm-Level.