on the beam vs up to code

on the beam

up to code

How often have the words on the beam and up to code occurred in a corpus of books? (source: Google Ngram Viewer )