home / cp40x

names

6 rows where case_id = 2215962

✎ 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
4550073 2215962 2215962 plaintiff Croweshawe Cecilia merchant 586901 586901 Croweshawe, Cecilia, of Nottingham, formerly wife of John, merchant 0
4550074 2215962 2215962 defendant Clerk Wiliam   595865 595865 Clerk, Wiliam, of Gedlyng 0
4550075 2215962 2215962 defendant Burton John   768553 768553 Burton, John, of Neweton by Bingham 1
4550076 2215962 2215962 defendant Warde John   768554 768554 Warde, John, of Selford 2
4550077 2215962 2215962 defendant Sheperde William   761132 761132 Sheperde, William, of Shardelowe 3
4550078 2215962 2215962 defendant Edneshore Thomas in Donsale   Edneshore, Thomas, in Donsale 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 16.465ms