Searching for an news oriented application like N-gram

Hello,

As a part of a class project, I wanted to see differential media attention to different dams in India. For that I require some application or package in R or python that tells me the number of times a dam name is cited in news. across years.

Regards,

Adi