home / cp40x

names

8 rows where case_id = 1978047

✎ 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
3863710 1978047 1978047 plaintiff Jamys Robert (legal representative) 585936 585936 Jamys, Robert, of Norwich, alderman, executors of 0
3863711 1978047 1978047 plaintiff Sywhat Nicholas alderman 585936 585936 (Sywhat, Nicholas, of Norwich, alderman 1
3863712 1978047 1978047 plaintiff Rogers William alderman 585936 585936 Rogers, William, of Norwich, alderman 2
3863713 1978047 1978047 plaintiff Wode Edwward alderman 585936 585936 Wode, Edwward, of Norwich, alderman 3
3863714 1978047 1978047 plaintiff Trace John     Trace, John 4
3863715 1978047 1978047 defendant Pechet John mercer 592185 592185 Pechet, John, of Sheryngham, mercer 0
3863716 1978047 1978047 defendant Smyth Henry Happysborough, draper   Smyth, Henry, Happysborough, draper 1
3863717 1978047 1978047 defendant Holden Henry   585936 585936 Holden, Henry, of Norwich, wax chandler 2

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