home / data

Menu
  • Dashboards

sc_version_detail (view)

2 rows where "appointment-date" is on date 2013-01-04

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: _commit_at (date), appointment-date (date), _changed_columns (array)

_commit_at _commit_hash _id _item _version _commit title name judge-of-appeal honoris-causa deceased organisation appointment-provision appointment-date _item_full_hash _changed_columns
2023-09-30T12:18:51+08:00 828371cb952509c6b6a05107413672ca2a63e02d 69 69 1 938 Mr Narayanan Sreenivasan 0 0 0 K&L Gates Straits Law LLC LPA,S30(1) 2013-01-04 d03d7ba4dd1e97dd09f103fb0faf7f6f3f44b7bf
[
    "honoris-causa",
    "title",
    "name",
    "organisation",
    "deceased",
    "appointment-provision",
    "appointment-date",
    "judge-of-appeal"
]
2023-09-30T12:18:51+08:00 828371cb952509c6b6a05107413672ca2a63e02d 70 70 1 938 Deputy Attorney-General Lionel Yee Woon Chin 0 0 0 Attorney-General's Chambers LPA,S30(1) 2013-01-04 2ef729db809d7ca9f16ac897560df81ffd310216
[
    "honoris-causa",
    "title",
    "name",
    "organisation",
    "deceased",
    "appointment-provision",
    "appointment-date",
    "judge-of-appeal"
]

Advanced export

JSON shape: default, array, newline-delimited

CSV options:

CREATE VIEW sc_version_detail AS select
  commits.commit_at as _commit_at,
  commits.hash as _commit_hash,
  sc_version.*,
  (
    select json_group_array(name) from columns
    where id in (
      select column from sc_changed
      where item_version = sc_version._id
    )
) as _changed_columns
from sc_version
  join commits on commits.id = sc_version._commit;
Powered by Datasette · Queries took 24.309ms · About: choco-up/sg-law-archive-data