home / cp40x

names

6 rows where case_id = 2061596

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4103687 2061596 2061596 plaintiff Mastergent Richard     Mastergent, Richard 0
4103688 2061596 2061596 defendant Dale Robert yeoman 694261 694261 Dale, Robert, of Lyke, Staffs, yeoman 0
4103689 2061596 2061596 defendant Aston Anthony gent 694262 694262 Aston, Anthony, of Parke Halle, Staffs, gent 1
4103690 2061596 2061596 defendant Kent John yeoman 596756 596756 Kent, John, of Kings Bromley, Staffs, yeoman 2
4103691 2061596 2061596 defendant Worley Alice (legal representative)   Worley, Alice, executor of 3
4103692 2061596 2061596 defendant Worley George gent 592139 592139 Worley, George, of Walsall, Staffs, 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 14.381ms