home / cp40x

names

6 rows where case_id = 2325230

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4895416 2325230 2325230 plaintiff Cambrygge John cutler 586697 586697 Cambrygge, John, of Shrewsbury, cutler 0
4895417 2325230 2325230 defendant Colle John, senior gent 586697 586697 Colle, John, senior, of Shrewsbury, gent 0
4895418 2325230 2325230 defendant Brydde Thomas mer4cer 766262 766262 Brydde,Thomas, of Walsale, Staffs, mer4cer 1
4895419 2325230 2325230 defendant Dyker William cutler 594056 594056 Dyker, William, of Tamworth, Warks, cutler 2
4895420 2325230 2325230 defendant Benet Thomas mercer 594086 594086 Benet, Thomas, of Wolverhampton, Staffs, mercer 3
4895421 2325230 2325230 defendant Reynold John mercer 608019 608019 Reynold, John, of Kydermynster, mercer 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.906ms