home / cp40x

names

9 rows where case_id = 2202447

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4506208 2202447 2202447 plaintiff Sywardby Richard     Sywardby, Richard, on his own account 0
4506209 2202447 2202447 defendant Seton Robert de, junior   611613 611613 Seton, Robert de, junior, of Lund 0
4506210 2202447 2202447 defendant Harpham Robert   611613 611613 Harpham, Robert, of Lund 1
4506211 2202447 2202447 defendant Bard John   611613 611613 Bard, John, of Lund 2
4506212 2202447 2202447 defendant Nicoll John     Nicoll, John 3
4506213 2202447 2202447 defendant Milner Roger   611613 611613 Milner, Roger, of Lund 4
4506214 2202447 2202447 defendant Littester Thomas     Littester, Thomas 5
4506215 2202447 2202447 defendant Bardeman Peter   590362 590362 Bardeman, Peter, of Eston 6
4506216 2202447 2202447 defendant Hertilpole John     Hertilpole, 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 17.83ms