old people's home vs shelter

old people's home

noun
  • nursing home 

  • retirement village 

shelter

noun
  • An institution that provides temporary housing for homeless people, battered women, etc. 

  • A refuge, haven or other cover or protection from something. 

verb
  • To take cover. 

  • To provide cover from damage or harassment; to shield; to protect. 

How often have the words old people's home and shelter occurred in a corpus of books? (source: Google Ngram Viewer )