home / cp40x

names

7 rows where case_id = 2135916

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4316571 2135916 2135916 plaintiff Lake John     Lake, John 0
4316572 2135916 2135916 plaintiff Chaplyn John     Chaplyn, John 1
4316573 2135916 2135916 defendant Taylbushe Edward yeoman 586813 586813 Taylbushe, Edward, of Pylton, yeoman 0
4316574 2135916 2135916 defendant Horwood John weaver 586813 586813 Horwood, John, of Pylton, weaver 1
4316575 2135916 2135916 defendant Horwood Thomas weaver 586813 586813 Horwood Thomas, of Pylton, weaver 2
4316576 2135916 2135916 defendant Hore William weaver 586813 586813 Hore, William, of Pylton, weaver 3
4316577 2135916 2135916 defendant Richard Oliver weaver 586813 586813 Richard, Oliver, of Pylton, weaver 4

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 9.158ms