home / cp40x

names

9 rows where case_id = 2349957

✎ 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
4976583 2349957 2349957 plaintiff Payn John     Payn, John 0
4976584 2349957 2349957 defendant Moryell Richard husbandman 829627 829627 Moryell, Richard, of Gayesle, Suff, husbandman 0
4976585 2349957 2349957 defendant Kebyll John smith 586180 586180 Kebyll, John, of Bury St Edmunds, smith 1
4976586 2349957 2349957 defendant Bray John husbandman 609198 609198 Bray, John, of Heigham, Suff, husbandman 2
4976587 2349957 2349957 defendant Grubbe John husbandman 591887 591887 Grubbe, John, of Hokham, husbandman 3
4976588 2349957 2349957 defendant Porter John miller 588635 588635 Porter, John, of Est Harlyng, miller 4
4976589 2349957 2349957 defendant Talyfer John clerk 829628 829628 Talyfer, John, of Garbylsham, clerk 5
4976590 2349957 2349957 defendant Steynes John husbandman 829628 829628 Steynes, John, of Garbylsham, husbandman 6
4976591 2349957 2349957 defendant Sewale John weaver 601374 601374 Sewale, John, of Botesdale, weaver 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 17.544ms