home / cp40x

names

6 rows where case_id = 1934921

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3727637 1934921 1934921 plaintiff Weston Richard esq   Weston, Richard, esq 0
3727638 1934921 1934921 defendant Ellerker Ralph, junior   585869 585869 Ellerker, Ralph, junior, of London, knight 0
3727639 1934921 1934921 defendant Ellerker William esq 603467 603467 Ellerker, William, of Rysby, Yorks, esq 1
3727640 1934921 1934921 defendant Gate Geoffrey   585869 585869 Gate, Geoffrey, of London, knight 2
3727641 1934921 1934921 defendant Vavyser John gent 585869 585869 Vavyser, John, of London, gent 3
3727642 1934921 1934921 defendant Percy William   608157 608157 Percy, William, of Ryton, Yorks, knight 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 6.971ms