home / cp40x

names

8 rows where case_id = 2326635

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4899983 2326635 2326635 plaintiff Hopton John esq   Hopton, John, esq 0
4899984 2326635 2326635 defendant Thorp Robert   611193 611193 Thorp, Robert, of Donewich, franklin 0
4899985 2326635 2326635 defendant Melton John husbandman 611193 611193 Melton, John, of Donewich, husbandman 1
4899986 2326635 2326635 defendant Russell Richard   611193 611193 Russell, Richard, of Donewich, mason 2
4899987 2326635 2326635 defendant Whetelofe Thomas smith 611193 611193 Whetelofe, Thomas, of Donewich, smith 3
4899988 2326635 2326635 defendant Aleyn John   611193 611193 Aleyn, John, of Donewich, wright 4
4899989 2326635 2326635 defendant Jentilman John pedder 611193 611193 Jentilman, John, of Donewich, pedder 5
4899990 2326635 2326635 defendant Wryght John   611193 611193 Wryght, John, of Donewich, wright 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 13.861ms