home / cp40x

names

7 rows where case_id = 2411276

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5184703 2411276 2411276 plaintiff Eyre Simon (legal representative) 585869 585869 Eyre, Simon, of London, draper, & Alderman, executors of 0
5184704 2411276 2411276 plaintiff Chesshire Roger chaplain   (Chesshire, Roger, chaplain 1
5184705 2411276 2411276 plaintiff Myller Robert     Myller, Robert 2
5184706 2411276 2411276 plaintiff Hereward Thomas     Hereward, Thomas 3
5184707 2411276 2411276 plaintiff Little Robert formerly servant of Simon   Little, Robert, formerly servant of Simon 4
5184708 2411276 2411276 defendant Bruyn Richard esq 857095 857095 Bruyn, Richard, of Eslynham, Kent, esq 0
5184709 2411276 2411276 defendant Hoo Thomas esq 589622 589622 Hoo, Thomas, of Horsham, Sussex, esq 1

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