Part of R-code for generating similar reports for 28 districts.