SQL functions in Google Sheets to fetch data from Datasette

TIL: SQL functions in Google Sheets to fetch data from Datasette (https://til.simonwillison.net/google-sheets/datasette-sql) I put together some notes on patterns for fetching data from a

TIL: SQL functions in Google Sheets to fetch data from Datasette (https://til.simonwillison.net/google-sheets/datasette-sql)

I put together some notes on patterns for fetching data from a Datasette instance directly into Google Sheets - using the importdata() function, a "named function" that wraps it or a Google Apps Script if you need to send an API token in an HTTP header (not supported by importdata().)

Here’s an example sheet (https://docs.google.com/spreadsheets/d/14lRV2-AeBmjI3lJbl2apwfC_ncXqL0uSV68lmtzUI7I/edit?gid=0#gid=0) demonstrating all three methods.

    Tags: spreadsheets (https://simonwillison.net/tags/spreadsheets), datasette (https://simonwillison.net/tags/datasette), google (https://simonwillison.net/tags/google)
Write a comment
No comments yet.