home / cp40x

names

6 rows where case_id = 1913283

✎ 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
3659675 1913283 1913283 plaintiff Grover John draper 604904 604904 Grover, John, of Kingston upon Thames, draper 0
3659676 1913283 1913283 defendant Parker John   604907 604907 Parker, John, of Cheyham, pot maker 0
3659677 1913283 1913283 defendant Roger Thomas husbandman 604906 604906 Roger, Thomas, of Becheworth, husbandman 1
3659678 1913283 1913283 defendant Wright William smith 599635 599635 Wright, William, of Chertesey, smith 2
3659679 1913283 1913283 defendant Clerke Thomas husbandman 586218 586218 Clerke, Thomas, of Egham, husbandman 3
3659680 1913283 1913283 defendant Byrthat William husbandman 588512 588512 Byrthat, William, of Micham, husbandman 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 17.474ms