title: Use Bigquery API or bq command line tool to create new table
body: <p>I am trying to come up with a programmatic way to generate a new bigquery table from a pre-existing table.  I know how to do this to create a new view using the bq command line tool</p>
  
  <p>bq --project_id='myProject' mk --view="SELECT * FROM [MYDATASET.database]" myProject.newTable</p>
  
  <p>But that creates a view and that doesn't help me, I need to create a table for a bunch of reasons.</p>
  
  <p>I would be happy to create a view and then be able to generate a new table from that view periodically, but I can't figure out how to do that without doing it manually though the bigquery web interface.</p>
  
  <p>I'd appreciate any help.</p>
  
  <p>Brad</p>