home / cp40x

names

8 rows where case_id = 2298448

✎ 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
4807175 2298448 2298448 plaintiff Clerk John draper 805101 805101 Clerk, John, of Norwich & of Waltham Holy Cross, Herts, draper 0
4807176 2298448 2298448 plaintiff Cook Simon   585936 585936 (Cook, Simon, of Norwich 1
4807177 2298448 2298448 plaintiff Assak John   585936 585936 Assak, John, of Norwich 2
4807178 2298448 2298448 plaintiff Laurence Peter   585936 585936 Laurence, Peter, of Norwich 3
4807179 2298448 2298448 defendant Wheler John pewterer 600449 600449 Wheler, John, of Boston, Lincs, pewterer 0
4807180 2298448 2298448 defendant Drake Edmund   585936 585936 Drake, Edmund, of Norwich, husbandman, formerly servant of John Lyngelynee 1
4807181 2298448 2298448 defendant Smyth John husbandman 620445 620445 Smyth, John, of Gunthorp, Norf, husbandman 2
4807182 2298448 2298448 defendant Gustas Thomas   585869 585869 Gustas, Thomas, of London, brass worker 3

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.075ms