home / cp40x

names

6 rows where case_id = 1952151

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3782082 1952151 1952151 plaintiff Holand Owen     Holand, Owen 0
3782083 1952151 1952151 defendant Robertys Nicholas innholder 628398 628398 Robertys, Nicholas, of Hounslowe, innholder 0
3782084 1952151 1952151 defendant Stokes John husbandman 628399 628399 Stokes, John, of Stanewell, husbandman 1
3782085 1952151 1952151 defendant Taylour John husbandman 628400 628400 Taylour, John, of Herdlyngton, husbandman 2
3782086 1952151 1952151 defendant Smyth John carpenter 596071 596071 Smyth, John, of Uxbrigge, carpenter 3
3782087 1952151 1952151 defendant Erby William butcher 628401 628401 Erby, William, of Harmansworth, butcher 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 7.534ms