home / cp40x

names

6 rows where case_id = 1992587

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3906870 1992587 1992587 plaintiff Munde Richard     Munde, Richard 0
3906871 1992587 1992587 defendant Colford Thomas husbandman 587005 587005 Colford, Thomas, of Navestok, husbandman 0
3906872 1992587 1992587 defendant Chambleyn John sawyer 630866 630866 Chambleyn, John, of Brentwood, sawyer 1
3906873 1992587 1992587 defendant Foster Richard   630866 630866 Foster, Richard, of Brentwood, horse courser 2
3906874 1992587 1992587 defendant Robertys John husbandman 649480 649480 Robertys, John, of Bulband, husbandman 3
3906875 1992587 1992587 defendant Halley William husbandman 621125 621125 Halley, William, of Magna Warley, husbandman 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.954ms