home / cp40x

names

11 rows where case_id = 1975201

✎ 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
3855018 1975201 1975201 plaintiff Tyrrell John knight   Tyrrell, John, knight 0
3855019 1975201 1975201 plaintiff Tyrrell John esq   Tyrrell, John, esq 1
3855020 1975201 1975201 plaintiff Wentworth John esq   Wentworth, John, esq 2
3855021 1975201 1975201 plaintiff Tyrrell Humphrey esq   Tyrrell, Humphrey, esq 3
3855022 1975201 1975201 plaintiff Norres John esq   Norres, John, esq 4
3855023 1975201 1975201 plaintiff Tyrrell John, junior     Tyrrell, John, junior 5
3855024 1975201 1975201 plaintiff Moundeford Francis esq   Moundeford, Francis, esq 6
3855025 1975201 1975201 plaintiff Grey John gent   Grey, John, gent 7
3855026 1975201 1975201 plaintiff Brampton William gent   Brampton, William, gent 8
3855027 1975201 1975201 plaintiff Dedyk John gent   Dedyk, John, gent 9
3855028 1975201 1975201 defendant Gurney Anthony esq 640385 640385 Gurney, Anthony, of Skulton, Norf, esq 0

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