home / cp40x

names

6 rows where case_id = 1985470

✎ 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
3885682 1985470 1985470 plaintiff Bexwell John     Bexwell, John 0
3885683 1985470 1985470 defendant Bathecroft Richard gent 630065 630065 Bathecroft, Richard, of Bexwell, gent 0
3885684 1985470 1985470 defendant Borowe John laborer 630065 630065 Borowe, John, of Bexwell, laborer 1
3885685 1985470 1985470 defendant Tompson John laborer 630065 630065 Tompson, John, of Bexwell, laborer 2
3885686 1985470 1985470 defendant Peye Edward laborer 630065 630065 Peye, Edward, of Bexwell, laborer, SMyth, Edward, of Bexwell, laborer 3
3885687 1985470 1985470 defendant Cope Richard laborer 630065 630065 Cope, Richard, of Bexwell, laborer 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 14.813ms