in a flap vs in a state

in a flap

prep
  • Worked up. 

in a state

prep
  • Messed up. 

  • Agitated and anxious. 

How often have the words in a flap and in a state occurred in a corpus of books? (source: Google Ngram Viewer )