This is a project I wrote looking for edits performed by IPs belonging to Polish government. While the code is in English, I wrote most of the documentation in Polish. Use Google Translate or e-mail me if you need help setting this up for your country.