home / cp40x

names

5 rows where case_id = 1998708

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3925096 1998708 1998708 plaintiff Wayde John mercer 586117 586117 Wayde, John, of Coventry, mercer 0
3925097 1998708 1998708 defendant Colley Richard husbandman 652695 652695 Colley, Richard, of Adlem, Cheshire, husbandman 0
3925098 1998708 1998708 defendant Wayde Isabel (legal representative) 586117 586117 Wayde, Isabel, of Coventry, widow, executrix of Wayde, Christopher, executor of 1
3925099 1998708 1998708 defendant Savage William chapman 648730 648730 Savage, William, of Bonynghall, Salop, chapman 2
3925100 1998708 1998708 defendant Phillipps Thomas chapman 586150 586150 Phillipps, Thomas, of Stretford on Avon, Warks, chapman 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 12.647ms