home / cp40x

names

6 rows where case_id = 2359970

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5010586 2359970 2359970 plaintiff Wartir Christopher skinner 585869 585869 Wartir, Christopher, of London, skinner 0
5010587 2359970 2359970 defendant Botyler John esq 834702 834702 Botyler, John, of Raweclyf, Kent, esq 0
5010588 2359970 2359970 defendant Plumpton Geoffrey esq 834703 834703 Plumpton, Geoffrey, of Stodeley, Yorks, esq 1
5010589 2359970 2359970 defendant Chappe Richard esq 834704 834704 Chappe, Richard, of Cougham, Norf, esq 2
5010590 2359970 2359970 defendant Fr_eys John esq 702968 702968 Fr_eys, John, of Langley, Leics, esq 3
5010591 2359970 2359970 defendant Baskervyle Ralph esq 834705 834705 Baskervyle, Ralph, of Icchcombe, Gloucs, 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 17.073ms