home / cp40x

names

9 rows where case_id = 2190100

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4466222 2190100 2190100 plaintiff York   in   York, abbot of the BM, in 0
4466223 2190100 2190100 defendant Clerionet Hugh   596911 596911 Clerionet, Hugh, of Richmond 0
4466224 2190100 2190100 defendant Harwod Robert de     Harwod, Robert de 1
4466225 2190100 2190100 defendant Smyth John   759703 759703 Smyth, John, of Forset 2
4466226 2190100 2190100 defendant smyth John   588641 588641 smyth, John, of Denton 3
4466227 2190100 2190100 defendant Stevenson Robert   760013 760013 Stevenson, Robert, of Erpilby 4
4466228 2190100 2190100 defendant Walkern John   586172 586172 Walkern, John, of Hertford 5
4466229 2190100 2190100 defendant Whawe John     Whawe, John 6
4466230 2190100 2190100 defendant Shiphird John     Shiphird, John 7

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 16.592ms