home / cp40x

names

8 rows where case_id = 2038689

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4039309 2038689 2038689 plaintiff Lysley Lancelot     Lysley, Lancelot 0
4039310 2038689 2038689 defendant Lysley Robert gent 595151 595151 Lysley, Robert, of Felton, gent 0
4039311 2038689 2038689 defendant Lysley John yeoman 595151 595151 Lysley, John, of Felton, yeoman 1
4039312 2038689 2038689 defendant Lysley John yeoman 680188 680188 Lysley, John, of Hasand, yeoman 2
4039313 2038689 2038689 defendant Errington William yeoman 673706 673706 Errington, William, of Gosforth, yeoman, Steell, Christopher, of Gosforth, yeoman 3
4039314 2038689 2038689 defendant Mall Robert yeoman 673706 673706 Mall, Robert, of Gosforth, yeoman 4
4039315 2038689 2038689 defendant Myller John yeoman 673706 673706 Myller, John, of Gosforth, yeoman 5
4039316 2038689 2038689 defendant Meill Robert yeoman 673706 673706 Meill, Robert, of Gosforth, yeoman 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.29ms