home / cp40x

names

6 rows where case_id = 2398358

✎ 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
5140590 2398358 2398358 plaintiff Talyard Robert     Talyard, Robert, on his own account 0
5140591 2398358 2398358 defendant Wysk Alan butcher 596298 596298 Wysk, Alan, of Beccles, butcher 0
5140592 2398358 2398358 defendant Buntyng John yeoman 852074 852074 Buntyng, John, of Sandcrot, yeoman 1
5140593 2398358 2398358 defendant Tesard John yeoman 586817 586817 Tesard, John, of Lowystoft, yeoman 2
5140594 2398358 2398358 defendant Chapeleyn John husbandman 586989 586989 Chapeleyn, John, of Blundeston, husbandman 3
5140595 2398358 2398358 defendant Ditton John yeoman 638524 638524 Ditton, John, of Elmham, formerly of Rumburgh, yeoman 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 15.241ms