home / cp40x

names

6 rows where case_id = 1984171

✎ 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
3881815 1984171 1984171 plaintiff Smyth Nicholas mercer 586634 586634 Smyth, Nicholas, of Hallesworth, mercer 0
3881816 1984171 1984171 defendant Fynne Thomas husbandman 588325 588325 Fynne, Thomas, of Thoryngton, husbandman 0
3881817 1984171 1984171 defendant Gavell Nicholas gent 606839 606839 Gavell, Nicholas, of Brundysshe, gent 1
3881818 1984171 1984171 defendant Whyteler John husbandman 620080 620080 Whyteler, John, of Chesten, husbandman 2
3881819 1984171 1984171 defendant Drane Thomas smith 603786 603786 Drane, Thomas, of Dersham, smith 3
3881820 1984171 1984171 defendant Lowe Robert yeoman 633382 633382 Lowe, Robert, of Lynsted Parva, yeoman 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 16.062ms