title: Pivot table with Google Script
body: <p>I use Script in Google spreadsheet and it is very great.</p>
  
  <p>I had a problem.</p>
  
  <p>I tried to create (from a piece of data already loaded) to create a Pivot Report .. no problem with the menu selection in the spreadsheet (Menu "date" -> "Pivot Report") ... I could not find a way to create a script that I can do this automatically.</p>
  
  <p>How to create a pivot table in Google Spreadsheet Script?</p>
  
  <p>And 'possible?</p>