home / cp40x

names

7 rows where case_id = 2426074

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5235885 2426074 2426074 plaintiff Draughton William (legal representative) 767814 767814 Draughton, William, of Herwich, administratrix of 0
5235886 2426074 2426074 plaintiff Draughton Joan widow   Draughton, Joan, widow 1
5235887 2426074 2426074 defendant Clerke John shipman 586823 586823 Clerke, John, of Herwich, Essex, shipman 0
5235888 2426074 2426074 defendant Broun John butcher 586134 586134 Broun, John, of Ipswich, butcher 1
5235889 2426074 2426074 defendant Dewall John yeoman 862580 862580 Dewall, John, of Russhemer, Syff, yeoman 2
5235890 2426074 2426074 defendant Wirdon Thomas tiler 586134 586134 Wirdon, Thomas, of of Ipswich, tiler 3
5235891 2426074 2426074 defendant Reynold John yeoman 862581 862581 Reynold, John, of Colneys, Suff, yeoman 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 17.246ms