home / cp40x

names

7 rows where case_id = 2489558

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5448879 2489558 2489558 plaintiff Martyn John mercer 585869 585869 Martyn, John, of London, mercer 0
5448880 2489558 2489558 defendant Gaynsford John esq 880137 880137 Gaynsford, John, of Croweherst, Surr, esq 0
5448881 2489558 2489558 defendant Nicholson John gent 780398 780398 Nicholson, John, of Bishop's Lenn, Norf, gent 1
5448882 2489558 2489558 defendant Martyn Eleanor widow 591164 591164 Martyn, Eleanor, of Harwich, Essex, widow 2
5448883 2489558 2489558 defendant Erdy Humphrey   608333 608333 Erdy, Humphrey, of Stourton 3
5448884 2489558 2489558 defendant Gay John gent   Gay, John, gent 4
5448885 2489558 2489558 defendant Hoton George (legal representative)   Hoton, George, executrix of 5

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