home / cp40x

names

7 rows where case_id = 2442480

✎ 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
5291368 2442480 2442480 plaintiff Poley Simon     Poley, Simon 0
5291369 2442480 2442480 plaintiff Cole Joan widow   Cole, Joan, widow 1
5291370 2442480 2442480 defendant Bolton John gent 757102 757102 Bolton, John, of Braunford, gent 0
5291371 2442480 2442480 defendant Gegge Robert carpenter 757102 757102 Gegge, Robert, of Braunford, carpenter 1
5291372 2442480 2442480 defendant Bronewyn William butcher 586405 586405 Bronewyn, William, of Nedham Market, butcher 2
5291373 2442480 2442480 defendant Fyssher Robert baker 587635 587635 Fyssher, Robert, of Hadlegh, baker 3
5291374 2442480 2442480 defendant Prentys William butcher 588645 588645 Prentys, William, of Clare, butcher 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 14.369ms