home / cp40x

names

5 rows where case_id = 2117632

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4264055 2117632 2117632 plaintiff Barker Urias gent   Barker, Urias, gent 0
4264056 2117632 2117632 defendant Dyer Alexander esq 655861 655861 Dyer, Alexander, of Newington, Middx, esq 0
4264057 2117632 2117632 defendant Thornborowe Edward esq 726000 726000 Thornborowe, Edward, of Shoddesdon, Hants, esq 1
4264058 2117632 2117632 defendant Hart Thomas yeoman 679542 679542 Hart, Thomas, of Throckinge, Herts, yeoman 2
4264059 2117632 2117632 defendant Harte Andrew yeoman 726001 726001 Harte, Andrew, of Cappon, Cams, yeoman 3

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.508ms