home / cp40x

names

6 rows where case_id = 2085938

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4172777 2085938 2085938 plaintiff Cupper Richard esq   Cupper, Richard, esq, administrator of 0
4172778 2085938 2085938 plaintiff Cupper John esq   Cupper, John, esq 1
4172779 2085938 2085938 defendant Rygbye Arthur yeoman 650337 650337 Rygbye, Arthur, of Woodstock, or of Llanihangell or St Michael Cardigan, yeoman 0
4172780 2085938 2085938 defendant Eyre Roland gent 672120 672120 Eyre, Roland, of Woodstocke, or of Llehermytage , Staffs, gent 1
4172781 2085938 2085938 defendant Grantham Thomas gent 672120 672120 Grantham, Thomas, of Woodstocke, or of Hickyngton, Lincs, gent 2
4172782 2085938 2085938 defendant Lloyde Randolph gent 672120 672120 Lloyde, Randolph, of Woodstocke, or of Oswester, Salop, gent 3

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.962ms