Datasetteからデータを取得するGoogle SheetsのSQL関数
本文の状態
日本語全文を表示中
詳細モードで約1分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Simon Willison Blog
筆者は、Google Sheetsのimportdata関数やApps Scriptを用いてDatasetteからデータを取得する実装パターンを解説している。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
TIL: Google SheetsのSQL関数でDatasetteからデータを取得する
Datasetteインスタンス(Datasette instance)からGoogle Sheetsへデータを直接取得するためのパターンに関するメモをまとめました。importdata()関数を使用する方法、それをラップする「名前付き関数(named function)」を使用する方法、またはHTTPヘッダー(HTTP header)にAPIトークン(API token)を送信する必要がある場合にGoogle Apps Scriptを使用する方法です。
これら3つの方法をすべて示したサンプルシートはこちらです。
タグ:spreadsheets, datasette, google
原文を表示
TIL: SQL functions in Google Sheets to fetch data from Datasette
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 demonstrating all three methods.
Tags: spreadsheets, datasette, google
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み