Code for analyzing turbovote data