home / cp40x

names

7 rows where case_id = 2126151

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4289074 2126151 2126151 plaintiff Motteshedd John gent   Motteshedd, John, gent, executor of 0
4289075 2126151 2126151 plaintiff Motteshedd William gent   Motteshedd, William, gent 1
4289076 2126151 2126151 defendant Leyson Anthony (legal representative) 632903 632903 Leyson, Anthony, of Althorpe, Nhants, gent, executor of 0
4289077 2126151 2126151 defendant Leyson Thomas gent 717828 717828 Leyson, Thomas, of Franckton, Warks, gent 1
4289078 2126151 2126151 defendant Ellys James esq 636343 636343 Ellys, James, of Peterborowe, Nhants, esq 2
4289079 2126151 2126151 defendant Havard Philip gent 604379 604379 Havard, Philip, of Flaxton, gent 3
4289080 2126151 2126151 defendant Holmes Christopher clerk 730551 730551 Holmes, Christopher, of Harrowden Magna, Nhants, clerk 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 5.995ms