home / cp40x

names

6 rows where case_id = 2381597

✎ 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
5083593 2381597 2381597 plaintiff Filey John clerk   Filey, John, clerk 0
5083594 2381597 2381597 defendant Lichebarwe John clerk 589274 589274 Lichebarwe, John, of Cotyngham, clerk 0
5083595 2381597 2381597 defendant Drakelowe William gent 589274 589274 Drakelowe, William, of Cotyngham, gent 1
5083596 2381597 2381597 defendant Hynke Thomas yeoman 600590 600590 Hynke, Thomas, of Hangyng Houghton, yeoman 2
5083597 2381597 2381597 defendant Bowen Hugh yeoman 586224 586224 Bowen, Hugh, of Grendon, yeoman 3
5083598 2381597 2381597 defendant Breteyn Thomas husbandman 589274 589274 Breteyn, Thomas, of Cotyngham, husbandman 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 12.839ms