home / cp40x

names

7 rows where case_id = 1986537

✎ 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
3888915 1986537 1986537 plaintiff Forman John (legal representative)   Forman, John, executors of 0
3888916 1986537 1986537 plaintiff Pye Richard     (Pye, Richard 1
3888917 1986537 1986537 defendant Ide William   589000 589000 Ide, William, of Bradfeld, twill weaver 0
3888918 1986537 1986537 defendant Bagler William husbandman 646070 646070 Bagler, William, of Dalynger, husbandman 1
3888919 1986537 1986537 defendant Clarke John brickmaker 588489 588489 Clarke, John, of Melton, brickmaker 2
3888920 1986537 1986537 defendant Palmer Robert husbandman 646071 646071 Palmer, Robert, of Howseley, husbandman 3
3888921 1986537 1986537 defendant Bray John husbandman 589000 589000 Bray, John, of Bradfeld, 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 11.451ms