home / cp40x

names

7 rows where case_id = 2121476

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4275766 2121476 2121476 plaintiff Clarke Richard (legal representative)   Clarke, Richard, executors of 0
4275767 2121476 2121476 plaintiff Clarke Jane widow Clarke, John   (Clarke, Jane, widow Clarke, John 1
4275768 2121476 2121476 plaintiff C larke Mathew     C larke, Mathew 2
4275769 2121476 2121476 defendant Consett William yeoman 675192 675192 Consett, William, of Hilderthorpe, yeoman 0
4275770 2121476 2121476 defendant Aske George gent 717854 717854 Aske, George, of Faxflett, gent 1
4275771 2121476 2121476 defendant Dynley John gent 590288 590288 Dynley, John, of Melborne, gent 2
4275772 2121476 2121476 defendant Sawle Henry yeoman 591382 591382 Sawle, Henry, of New Malton, yeoman 3

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.754ms