home / cp40x

names

7 rows where case_id = 1997243

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3920614 1997243 1997243 plaintiff Muriell Edward (legal representative) 585869 585869 Muriell, Edward, of London, grocer, administrator of 0
3920615 1997243 1997243 plaintiff Muryell William     Muryell, William 1
3920616 1997243 1997243 defendant Thompson Thomas clerk 585869 585869 Thompson, Thomas, of London, clerk 0
3920617 1997243 1997243 defendant Asshelyn John carrier 585925 585925 Asshelyn, John, of Bristol, carrier 1
3920618 1997243 1997243 defendant Smyth William (legal representative) 651938 651938 Smyth, William, of Romwel Hall, Essex, mercer, executrix of 2
3920619 1997243 1997243 defendant Smyth Agnes widow 595090 595090 Smyth, Agnes, of St Martin in the Fields, Middx, widow 3
3920620 1997243 1997243 defendant Knyvett William esq 651939 651939 Knyvett, William, of Hackeney, Middx, esq 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 13.287ms