apartment vs diggings

apartment

noun
  • A complete domicile occupying only part of a building, especially one for rent; a flat. 

  • A conceptual space used for separation in the threading architecture. Objects in one apartment cannot directly access those in another, but must use a proxy. 

diggings

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