home / cp40x

names

6 rows where case_id = 1908826

✎ 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
3644937 1908826 1908826 plaintiff Fuller Thomas mercer 585869 585869 Fuller, Thomas, of London, mercer 0
3644938 1908826 1908826 defendant Tournour Henry esq 601346 601346 Tournour, Henry, of Haverell, Cams, esq 0
3644939 1908826 1908826 defendant Lee Richard gent 586492 586492 Lee, Richard, of Maydston, Kent, gent 1
3644940 1908826 1908826 defendant Newport John gent 601347 601347 Newport, John, of Pelham, Herts, gent 2
3644941 1908826 1908826 defendant Strangwyshe James esq 585869 585869 Strangwyshe, James, of London, esq 3
3644942 1908826 1908826 defendant FitzWilliam Thomas esq 585869 585869 FitzWilliam, Thomas, of London, 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 15.262ms