home / cp40x

names

6 rows where case_id = 2349975

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4976650 2349975 2349975 plaintiff Pecke Thomas     Pecke, Thomas 0
4976651 2349975 2349975 defendant Sharp Nicholas miller 586079 586079 Sharp, Nicholas, of Bedford, miller 0
4976652 2349975 2349975 defendant Sweyn Simon smith 596169 596169 Sweyn, Simon, of Clopham, smith 1
4976653 2349975 2349975 defendant Bayhous John carpenter 596169 596169 Bayhous, John, of Clopham, carpenter 2
4976654 2349975 2349975 defendant Cottrell Nicholas yeoman 630896 630896 Cottrell, Nicholas, of Ixnyng, Suff, yeoman 3
4976655 2349975 2349975 defendant Flynt John husbandman 772524 772524 Flynt, John, of Over Caldecote, 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 18.318ms