home / cp40x

names

7 rows where case_id = 2447746

✎ 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
5309059 2447746 2447746 plaintiff Spencer John     Spencer, John 0
5309060 2447746 2447746 defendant Harlyng Thomas husbandman 586406 586406 Harlyng, Thomas, of Hopton, husbandman 0
5309061 2447746 2447746 defendant Dey Stephen husbandman 598512 598512 Dey, Stephen, of Horton, husbandman 1
5309062 2447746 2447746 defendant Smyth Thomas smith 794618 794618 Smyth, Thomas, of Great Thirlowe, smith 2
5309063 2447746 2447746 defendant Broun William carpenter 600986 600986 Broun, William, of Brethynham, carpenter 3
5309064 2447746 2447746 defendant Purch_ Thomas smith 593245 593245 Purch_, Thomas, of Hanley, smith 4
5309065 2447746 2447746 defendant Crymbyll John smith 590415 590415 Crymbyll, John, of Mildenhale, smith 5

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 13.54ms