home / cp40x

names

8 rows where case_id = 2176330

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4437038 2176330 2176330 plaintiff Trehampton John de     Trehampton, John de 0
4437039 2176330 2176330 defendant Tany_ Andrew son of Peter T_, of Leek   Tany_, Andrew, son of Peter T_, of Leek 0
4437040 2176330 2176330 defendant Hamond Gilbert   586286 586286 Hamond, Gilbert, of Boston 1
4437041 2176330 2176330 defendant Coiliour Lawrence   589796 589796 Coiliour, Lawrence, of Leek 2
4437042 2176330 2176330 defendant Leek Richard son of Roger   Leek, Richard, son of Roger 3
4437043 2176330 2176330 defendant Lyard John   589796 589796 Lyard, John, of Leek 4
4437044 2176330 2176330 defendant Harald John   589796 589796 Harald, John, of Leek 5
4437045 2176330 2176330 defendant Thorald John   589796 589796 Thorald, John, of Leek 6

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 8.757ms