Simon Willison’s Weblog

Subscribe

Items tagged json, whosonfirst in 2018

Filters: Year: 2018 × json × whosonfirst × Sorted by date


How I made a Who’s On First subset database. Inspired by Paul Ford on Twitter, I tried out a new trick with SQLite: connect to a database containing JSON, attach a brand new empty database file using “attach database”, then populate it using INSERT INTO ... SELECT plus the json_extract() function to extract out a subset of the JSON properties into a new table in the new database. # 3rd February 2018, 5:25 am

Types

Years

Months

Tags