get in a flap vs get in a state

get in a flap

get in a state

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