for it vs up the pole

for it

prep
  • Facing punishment for a misdeed. 

  • In order to attain some implied goal. 

  • Corresponding in volume. 

  • Used other than figuratively or idiomatically: see for, it. 

up the pole

prep
  • In trouble or difficulty. 

  • In favour or good repute; strait-laced. 

  • In confusion or error. 

  • Crazy; at one's wits' end. 

How often have the words for it and up the pole occurred in a corpus of books? (source: Google Ngram Viewer )