hamper vs throw a spanner in the works

hamper

verb
  • To put into a hamper. 

  • To impede in motion or progress. 

  • To put a hamper or fetter on; to shackle 

noun
  • A wicker or plastic basket specifically for holding laundry (from clothes hamper), as opposed to a covered wicker basket which is a true hamper 

  • A shackle; a fetter; anything which impedes. 

  • A large basket, usually with a cover, used for the packing and carrying of articles or small animals 

  • A gift basket. 

  • Articles ordinarily indispensable, but in the way at certain times. 

throw a spanner in the works

verb
  • To introduce a problem, dilemma or obstacle, something unexpected or troublesome. 

How often have the words hamper and throw a spanner in the works occurred in a corpus of books? (source: Google Ngram Viewer )