home / cp40x

names

7 rows where case_id = 2527054

✎ 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
5574307 2527054 2527054 plaintiff Reynold Richard mercer 585869 585869 Reynold, Richard, of London, mercer 0
5574308 2527054 2527054 plaintiff Long Richard mercer 585869 585869 Long, Richard, of London, mercer 1
5574309 2527054 2527054 defendant Mayn John clothman 901737 901737 Mayn, John, of Fernam, Hants, clothman 0
5574310 2527054 2527054 defendant Broke William chapman 820887 820887 Broke, William, of Crowelond, Lincs, chapman 1
5574311 2527054 2527054 defendant Grey Henry chapman 586286 586286 Grey, Henry, of Boston, chapman 2
5574312 2527054 2527054 defendant Lewys John chapman 795531 795531 Lewys, John, of Tynby, Wales, chapman 3
5574313 2527054 2527054 defendant Trolop Andrew chapman 586286 586286 Trolop, Andrew, of Boston, chapman 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 26.912ms