Mining the Logs: U.S. War Presidents and elections