tokens: In January 2011 , he published `` Pendulum Swing `` , which analyzed the 2010 midterm elections and the potential effect of Republican Party victories on the 2012 presidential , congressional , and state-level elections .