home / cp40x

names

6 rows where case_id = 2246958

✎ 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
4653255 2246958 2246958 plaintiff Baynard Richard     Baynard, Richard 0
4653256 2246958 2246958 defendant Cloun Thomas yeoman 591511 591511 Cloun, Thomas, of Stratford, yeoman 0
4653257 2246958 2246958 defendant Covyn John parson of South Elmham St James, Suff   Covyn, John, parson of South Elmham St James, Suff 1
4653258 2246958 2246958 defendant Snowe Ralph   588671 588671 Snowe, Ralph, of Berkyng, bailiff 2
4653259 2246958 2246958 defendant Barker Gilbert husbandman 759586 759586 Barker, Gilbert, of Borle, husbandman 3
4653260 2246958 2246958 defendant Malther John   874519 874519 Malther, John, of Monkes Illy, Suff, auditor 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 14.476ms