home / cp40x

names

6 rows where case_id = 2021121

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3989851 2021121 2021121 plaintiff Baxster William merchant tailor 585869 585869 Baxster, William, of London, merchant tailor 0
3989852 2021121 2021121 defendant Seymour John esq 585869 585869 Seymour, John, of London, or of Frampton Castell, esq 0
3989853 2021121 2021121 defendant Bylsbye Edward gent 585869 585869 Bylsbye, Edward, of London, gent 1
3989854 2021121 2021121 defendant Stapleton Brian gent 585869 585869 Stapleton, Brian, of London, gent 2
3989855 2021121 2021121 defendant Pulvertoft Robert esq 668622 668622 Pulvertoft, Robert, of Waplode, Lincs, esq 3
3989856 2021121 2021121 defendant Holte Humphrey gent 585869 585869 Holte, Humphrey, of London, or of Furnivall Inn, gent 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.263ms