home / cp40x

names

8 rows where case_id = 2187043

✎ 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
4456466 2187043 2187043 plaintiff (not given) Henry bishop of Norwich   Norwich, Henry, bishop of 0
4456467 2187043 2187043 defendant Stratton John   590985 590985 Stratton, John, of Strumpeshagh 0
4456468 2187043 2187043 defendant Ethe Adam   758764 758764 Ethe, Adam, of Strumeshagh 1
4456469 2187043 2187043 defendant dod John   589398 589398 dod, John, of Blofeld 2
4456470 2187043 2187043 defendant Milham Edmund   589398 589398 Milham, Edmund, of Blofeld 3
4456471 2187043 2187043 defendant Halle Edmund de   758765 758765 Halle, Edmund de, of Glofeld 4
4456472 2187043 2187043 defendant Wolman John   589398 589398 Wolman, John, of Blofeld 5
4456473 2187043 2187043 defendant Leture John   588981 588981 Leture, John, of Brundale 6

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 19.399ms