home / cp40x

names

6 rows where case_id = 2504997

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5500147 2504997 2504997 plaintiff Roket John clerk   Roket, John, clerk 0
5500148 2504997 2504997 defendant Cryspyn William beer brewer 592154 592154 Cryspyn, William, of Southwold, Suff, beer brewer 0
5500149 2504997 2504997 defendant Curteys John baker 586638 586638 Curteys, John, of Southwold, baker 1
5500150 2504997 2504997 defendant Goldsmyth John yeoman 893790 893790 Goldsmyth, John, of Hoveston juxta Yelverton, yeoman 2
5500151 2504997 2504997 defendant Shragger Henry beer brewer 893791 893791 Shragger, Henry, of Eston juxta Southwold, beer brewer 3
5500152 2504997 2504997 defendant Baker Thomas yeoman 622446 622446 Baker, Thomas, of Mutforth, 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.803ms