home / cp40x

names

10 rows where case_id = 2498676

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5478789 2498676 2498676 plaintiff Brekynden John, senior     Brekynden, John, senior 0
5478790 2498676 2498676 plaintiff Davy William     Davy, William 1
5478791 2498676 2498676 defendant Pende Thomas yeoman 588211 588211 Pende, Thomas, of Ledes, yeoman 0
5478792 2498676 2498676 defendant Pende John yeoman 588211 588211 Pende, John, of Ledes, yeoman 1
5478793 2498676 2498676 defendant Pende William yeoman 588211 588211 Pende, William, of Ledes, yeoman 2
5478794 2498676 2498676 defendant Mason Robert yeoman 588211 588211 Mason, Robert, of Ledes, yeoman 3
5478795 2498676 2498676 defendant Elcok Robert yeoman 631753 631753 Elcok, Robert, of Sutton Valans, yeoman 4
5478796 2498676 2498676 defendant Elcok Thomas yeoman 891626 891626 Elcok, Thomas, of Sutton Calans, yeoman 5
5478797 2498676 2498676 defendant Clerk Walter yeoman 588211 588211 Clerk, Walter, of Ledes, yeoman 6
5478798 2498676 2498676 defendant Ilchynden William yeoman 588182 588182 Ilchynden, William, of Stapilherst, yeoman 7

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