home / cp40x

names

7 rows where case_id = 2522794

✎ 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
5559692 2522794 2522794 plaintiff Saucheverell William     Saucheverell, William 0
5559693 2522794 2522794 plaintiff Lytster John     Lytster, John 1
5559694 2522794 2522794 plaintiff Mayesham John, junior     Mayesham, John, junior 2
5559695 2522794 2522794 plaintiff Barwell William     Barwell, William 3
5559696 2522794 2522794 defendant Bradshawe John yeoman 589994 589994 Bradshawe, John, of Duffeld, yeoman 0
5559697 2522794 2522794 defendant Souter John   589994 589994 Souter, John, of Duffeld, scythe smith 1
5559698 2522794 2522794 defendant Hudson Robert husbandman 900103 900103 Hudson, Robert, of Wyndeley, Duffeld, husbandman 2

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