home / cp40x

names

8 rows where case_id = 1938156

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3738181 1938156 1938156 plaintiff Mersham John (legal representative) 585936 585936 Mersham, John, of Norwich, alderman, executors of 0
3738182 1938156 1938156 plaintiff Mersham Elizabeth widow   (Mersham, Elizabeth, widow 1
3738183 1938156 1938156 plaintiff Mersham James     Mersham, James 2
3738184 1938156 1938156 defendant Kechon Clement   620874 620874 Kechon, Clement, of Tounsted, worsted weaver 0
3738185 1938156 1938156 defendant Wychyngham William   594283 594283 Wychyngham, William, of Tunsted, worsted weaver 1
3738186 1938156 1938156 defendant Pytelyng John miller 587672 587672 Pytelyng, John, of Horsted, miller 2
3738187 1938156 1938156 defendant Hendry Thomas grocer 586180 586180 Hendry, Thomas, of Bury St Edmunds, grocer 3
3738188 1938156 1938156 defendant Runhale Richard   591576 591576 Runhale, Richard, of Smalburgh, worsted weaver 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 12.79ms