Government employee absenteeism is often a serious problem in developing countries. One potential reason is government positions being appointed as a kind of patronage to reward political loyalty. This column presents the results of an intervention designed to address government doctor absenteeism in Punjab, Pakistan. The programme provided government inspectors with a smartphone app to streamline information flows, and improved inspection rates. The results support the political patronage hypothesis and provide encouraging support for data-driven policymaking.