home / cp40x

names

6 rows where case_id = 2426016

✎ 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
5235678 2426016 2426016 plaintiff Dobbys Adam     Dobbys, Adam 0
5235679 2426016 2426016 defendant Catte John husbandman 623374 623374 Catte, John, of Styskey, husbandman 0
5235680 2426016 2426016 defendant John of Wyveton merchant   John, of Wyveton, merchant 1
5235681 2426016 2426016 defendant Bocher Richard butcher 588465 588465 Bocher, Richard, of Wellys, butcher 2
5235682 2426016 2426016 defendant Munsewys Robert husbandman 601348 601348 Munsewys, Robert, of Castelacre, husbandman 3
5235683 2426016 2426016 defendant Hervy Robert butcher 591890 591890 Hervy, Robert, of Castellacre, butcher 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.286ms