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 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.
datasette 1.0a34
Datasette 1.0a34 introduces built-in tools for inserting, editing, and deleting rows directly in the Datasette interface, a feature long overdue and inspired by Datasette Agent.
Using DSPy to evaluate and improve Datasette Agent's SQL system prompts
Using the DSPy framework, the author evaluates and improves the system prompts for Datasette Agent's SQL query feature, identifying issues such as column-name guessing and error-retry loops.
@DivyanshT91162: I think GitHub repos are quietly replacing half the SaaS industry. This one turns a prompt into a live dataset. Type: "…
Promotes a GitHub repo that lets users describe a dataset in natural language and have AI agents research the web to build a structured table, exportable to CSV, with automatic refreshes.