home / cp40x

names

9 rows where case_id = 2211239

✎ 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
4535044 2211239 2211239 plaintiff Shephurd John     Shephurd, John 0
4535045 2211239 2211239 defendant Wilton Robert     Wilton, Robert 0
4535046 2211239 2211239 defendant Person Walter   593171 593171 Person, Walter, of Milton 1
4535047 2211239 2211239 defendant Fotte William     Fotte, William 2
4535048 2211239 2211239 defendant Bray William   767070 767070 Bray, William, of Kyngesdone 3
4535049 2211239 2211239 defendant Bratham John     Bratham, John 4
4535050 2211239 2211239 defendant Cruday John     Cruday, John 5
4535051 2211239 2211239 defendant Smyth Thomas   606446 606446 Smyth, Thomas, of Northover 6
4535052 2211239 2211239 defendant Deygher Nicholas   767071 767071 Deygher, Nicholas, of Cherton Makerell 7

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 15.199ms