home / cp40x

names

8 rows where case_id = 1919528

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3679092 1919528 1919528 plaintiff Parett John     Parett, John 0
3679093 1919528 1919528 defendant Shiriff William   585869 585869 Shiriff, William, of London, brick maker 0
3679094 1919528 1919528 defendant Daweson Leonard yeoman 585869 585869 Daweson, Leonard, of London, yeoman 1
3679095 1919528 1919528 defendant Hunt John miller 588148 588148 Hunt, John, of Watford, Herts, miller 2
3679096 1919528 1919528 defendant Wylson John miller 592816 592816 Wylson, John, of Stratford at Bowe, miller 3
3679097 1919528 1919528 defendant Wellys John yeoman 592816 592816 Wellys, John, of Stratford at Bowe, yeoman 4
3679098 1919528 1919528 defendant Smyth William (legal representative)   Smyth, William, executors of 5
3679099 1919528 1919528 defendant Fleccher William carpenter 585869 585869 (Fleccher, William, of London, carpenter 6

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