in principle vs preferably

in principle

prep
  • According to theory. 

  • With regard to the fundamentals, but not to the particulars. 

preferably

adv
  • In preference; by choice; in a preferable manner. 

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