home / cp40x

names

6 rows where case_id = 1932452

✎ 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
3719787 1932452 1932452 plaintiff Havard Thomas     Havard, Thomas 0
3719788 1932452 1932452 defendant Croft Richard esq 602384 602384 Croft, Richard, of Forde, esq 0
3719789 1932452 1932452 defendant Abrihale Thomas gent 617492 617492 Abrihale, Thomas, of Bykerton, gent 1
3719790 1932452 1932452 defendant Hooper Stephen hooper 586208 586208 Hooper, Stephen, of Hereford, hooper 2
3719791 1932452 1932452 defendant Clerke Christopher yeoman 617493 617493 Clerke, Christopher, of Fuoggysasshe, yeoman 3
3719792 1932452 1932452 defendant Bourghill John gent 617494 617494 Bourghill, John, of Wyllyngwyke, gent 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 16.377ms