Tools for analyzing political behaviour data