home / cp40x

names

7 rows where case_id = 2536935

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5606544 2536935 2536935 plaintiff Tredenek Robert     Tredenek, Robert 0
5606545 2536935 2536935 defendant Eye William yeoman 698833 698833 Eye, William, of Barnstable, Devon, yeoman 0
5606546 2536935 2536935 defendant Roswell William yeoman 619891 619891 Roswell, William, of Bradford, Soms, yeoman 1
5606547 2536935 2536935 defendant Roswell Richard yeoman 586349 586349 Roswell, Richard, of Bradford, yeoman 2
5606548 2536935 2536935 defendant Voos William yeoman 905238 905238 Voos, William, of Voos, yeoman 3
5606549 2536935 2536935 defendant Trebylcok Odo yeoman 905239 905239 Trebylcok, Odo, of Trebylcok, yeoman 4
5606550 2536935 2536935 defendant Wade John yeoman 592069 592069 Wade, John, of Warlegan, yeoman 5

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