Google-sheets – Google Sheets to SQL type database

google sheetsmigrate-data

Would it be possible to automatically export a Google sheet to a SQL type database which I could query? I am trying to make a information dashboard out of the sheet that contains data from a Google form. What possible ways could I do this?

Best Answer

If you're ok with the data being public (file>publish as html), you can expose/publish Google sheets as CSV/TSV/etc, then you could automate an import process with that URL as the source.

You can also access the data as JSON which might make the database import unnecessary (assuming the data is on the first sheet) https://spreadsheets.google.com/feeds/list/YOURDOCID/1/public/values?alt=json