home / cp40x

names

6 rows where case_id = 2427138

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5239501 2427138 2427138 plaintiff Hochyns Robert merchant 585996 585996 Hochyns, Robert, of Briggewater, merchant 0
5239502 2427138 2427138 defendant Burnard John tailor 586490 586490 Burnard, John, of Milverton, tailor 0
5239503 2427138 2427138 defendant Prendegast James merchant 862997 862997 Prendegast, James, of Dulevyne, Ireland, merchant 1
5239504 2427138 2427138 defendant Laurence Matthew merchant 862998 862998 Laurence, Matthew, of Weysford, Ireland, merchant 2
5239505 2427138 2427138 defendant Malyfaunte David gent 862999 862999 Malyfaunte, David, of Swaynesey, Wales, gent 3
5239506 2427138 2427138 defendant Baker Thomas baker 646398 646398 Baker, Thomas, of Yevelchester, baker 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.693ms