We aimed to assess the effectiveness of a rural sanitation intervention , within the context of the Government of India 's Total Sanitation Campaign , to prevent diarrhoea , soil-transmitted helminth infection , and child malnutrition .