home / cp40x

names

6 rows where case_id = 2534282

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5598018 2534282 2534282 plaintiff Dudley Richard rector of Walton, Lancs   Dudley, Richard, rector of Walton, Lancs 0
5598019 2534282 2534282 defendant Molyneux William esq 613268 613268 Molyneux, William, of Seston, Lancs, esq 0
5598020 2534282 2534282 defendant Mody Thurston chaplain 628034 628034 Mody, Thurston, of Ceston, chaplain 1
5598021 2534282 2534282 defendant Aghton Hugh esq 904300 904300 Aghton, Hugh, of North Meyles, Lancs, esq 2
5598022 2534282 2534282 defendant Eccleston Ralph esq 635612 635612 Eccleston, Ralph, of Eccleston, Lancs, esq 3
5598023 2534282 2534282 defendant Hulme Edmund esq 904301 904301 Hulme, Edmund, of Maghall, Lancs, 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 16.264ms