SQL functions in Google Sheets to fetch data from Datasette
Summary
Simon Willison shares techniques for fetching data from Datasette into Google Sheets using SQL functions, including importdata(), named functions, and Google Apps Script methods with API token support.
View Cached Full Text
Cached at: 04/20/26, 08:26 AM
Similar Articles
datasette 1.0a31
Datasette 1.0a31 introduces the ability to execute write queries and save stored queries (renamed from canned queries) for users with appropriate permissions, enhancing data editing capabilities.
datasette-charts 0.1a0
Simon Willison releases datasette-charts 0.1a0, a Datasette plugin that auto-suggests and renders interactive charts by compiling them into SQL aggregations across the full result set rather than just the current page.
Bring your spreadsheet data to life with Sheets canvas
Google introduces Sheets canvas, a Gemini-powered feature that turns spreadsheets into interactive mini-apps like dashboards and seating charts using natural language prompts, available to Google AI Pro/Ultra and Workspace subscribers.
Datasette Apps: Host custom HTML applications inside Datasette
Datasette Apps is a new plugin that lets users host custom, sandboxed HTML+JavaScript applications within Datasette, enabling secure read-only and write SQL queries via iframes.
**No need to write SQL anymore. Just ask questions in plain English and get your answers (with the SQL behind them).** Link in Comments
A developer built 'Ask Your Data,' an AI-powered text-to-SQL app that lets users query a 1M-row synthetic loan portfolio in plain English, generating validated PostgreSQL queries with charts and transparent SQL output for verification.