home / cp40x

names

6 rows where case_id = 1978993

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3866396 1978993 1978993 plaintiff Pope Henry (legal representative)   Pope, Henry, executor of 0
3866397 1978993 1978993 plaintiff Pope Thomas gent   Pope, Thomas, gent 1
3866398 1978993 1978993 defendant Larke Thomas yeoman 590415 590415 Larke, Thomas, of Mildenhale, yeoman 0
3866399 1978993 1978993 defendant Jervys John yeoman 621402 621402 Jervys, John, of Tudenham, yeoman 1
3866400 1978993 1978993 defendant Reve Thomas husbandman 602914 602914 Reve, Thomas, of Frekenham, husbandman 2
3866401 1978993 1978993 defendant Duffeld Thomas husbandman 590415 590415 Duffeld, Thomas, of Mildenhale, husbandman 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.199ms