All the King's Data: Simulation, automation, and the election of John F. Kennedy