I have about 25 csv files, all of the same format (identical number of rows and columns). I would like to import these into separate sheets (tabs) of a google docs spreadsheet, and create charts (about 10) in each of the sheets.
Is there a convenient script or some automatic way of populating the spreadsheet, given the format and chart templates for one sheet?
One solution is to (a) import one csv file into a sheet, (b) create all the charts in the sheet, (c) make several copies of the sheet, which also creates the charts in each copy, and (d) import the remaining csv files into the other copies. Is there a less painful or more scalable solution? Thanks!
For an example.
I take a FileIterator, a Spreadsheet and put them all to the spreadsheet by sheet.
Code.gs
CSVer.gs
Proto.gs
Highly recommend to read How can I parse a CSV string with Javascript?
For batch operations (26 csv-files to 26 sheets with 1 chart per each), I get good results over time.