home / cp40x

names

7 rows where case_id = 2309921

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4844884 2309921 2309921 plaintiff Norwich William     Norwich, William 0
4844885 2309921 2309921 defendant Spalle Richard husbandman 592443 592443 Spalle, Richard, of Surlyngham, husbandman 0
4844886 2309921 2309921 defendant Water   yeoman 811571 811571 _, Water, of Werdeston, yeoman 1
4844887 2309921 2309921 defendant Seman Robert husbandman 597864 597864 Seman, Robert, of Felsham, husbandman 2
4844888 2309921 2309921 defendant Bateman John hosteller 586020 586020 Bateman, John, of Berkewey, Herts, hosteller 3
4844889 2309921 2309921 defendant Balton (illegible) husbandman 811572 811572 Balton, _, of Brunham St Clements, husbandman 4
4844890 2309921 2309921 defendant Porter Hugh husbandman 811572 811572 Porter, Hugh, of Brunham St Clements, husbandman 5

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