home / cp40x

names

5 rows where case_id = 2068716

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4123522 2068716 2068716 plaintiff Cogan Thomas     Cogan, Thomas 0
4123523 2068716 2068716 defendant Boorde John carpenter 698297 698297 Boorde, John, of Ridge, Stockland, Dorset, carpenter 0
4123524 2068716 2068716 defendant Carter Walter weaver 698298 698298 Carter, Walter, of Harreson, Stockland, weaver 1
4123525 2068716 2068716 defendant Collyer William husbandman 698299 698299 Collyer, William, of Quarry, Stockland, husbandman 2
4123526 2068716 2068716 defendant Wyett John miller 597868 597868 Wyett, John, of Chard, or of Knitmill, Soms, miller 3

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