Source time Edition date
Creating tables and data entry in Datasette (Datasette Advent Day 3)
在 Datasette 中创建表和数据录入(Datasette Advent 第 3 天)
Simon Willison's Datasette walkthrough matters for data journalists and analysts, though the convenience of built-in table creation and data entry may mean less flexibility than a dedicated spreadsheet tool.
Judgment
Data journalists and analysts weighing Datasette against a spreadsheet must decide whether to run the alpha with root access: the label-column feature only lands in Datasette 1.0a47, and the --root option is what grants the create, alter and insert permissions that built-in table creation depends on.
Basis
Simon Willison's Datasette Advent Day 3 video walks through creating tables, inserting and updating rows, altering tables, and setting up foreign key and many-to-many relationships. He also demos the new ability to set a table's "label column", added in Datasette 1.0a47, so that when the table appears in a relationship Datasette knows which columns to use to summarize it. He launched it with a uvx command that avoids a prior install: --pre pulls the latest alpha, --create makes the sightings.db database if it does not yet exist, and --root returns a terminal URL for signing in as root. That root sign-in is the mechanism behind the tradeoff — the permissions to create and alter tables and insert data arrive bundled with alpha code rather than a stable release.
Unclear The source does not say whether the label column or the data-entry flow behaves differently in stable Datasette releases, nor what regressions the alpha carries.
Next Check the Datasette 1.0a47 release notes for the label-column change and any listed breaking issues before pointing analysts at --root.