home / cp40x

names

7 rows where case_id = 2097464

✎ 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
4205466 2097464 2097464 plaintiff Onley Edward esq   Onley, Edward, esq, executors of 0
4205467 2097464 2097464 plaintiff Spencer John knight   (Spencer, John, knight 1
4205468 2097464 2097464 plaintiff Corbett Richard esq   Corbett, Richard, esq 2
4205469 2097464 2097464 plaintiff Yelverton Christopher esq   Yelverton, Christopher, esq 3
4205470 2097464 2097464 plaintiff Onley Thomas esq   Onley, Thomas, esq 4
4205471 2097464 2097464 plaintiff Shute Richard gent   Shute, Richard, gent 5
4205472 2097464 2097464 defendant Hancocke Thomas husbandman 710161 710161 Hancocke, Thomas, of Martyn, Warks, husbandman 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 13.675ms