home / cp40x

names

7 rows where case_id = 1956877

✎ 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
3796775 1956877 1956877 plaintiff FitzJames John knight, Chief Justice   FitzJames, John, knight, Chief Justice 0
3796776 1956877 1956877 plaintiff Bonham Thomas     Bonham, Thomas 1
3796777 1956877 1956877 defendant Carre Ralph gent 625023 625023 Carre, Ralph, of Newland, Northumb, gent 0
3796778 1956877 1956877 defendant Dacres Christopher   585869 585869 Dacres, Christopher, of London, knight 1
3796779 1956877 1956877 defendant Forster Thomas gent 618713 618713 Forster, Thomas, of Edderston, Northumb, gent 2
3796780 1956877 1956877 defendant Harbotell John gent 630818 630818 Harbotell, John, of Bichefeld, Northumb, gent 3
3796781 1956877 1956877 defendant Lowder Christopher gent 625025 625025 Lowder, Christopher, of Wedeley, Westmor, 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 5.872ms