home / cp40x

names

5 rows where case_id = 2135556

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4315571 2135556 2135556 plaintiff Hodgson Gawin     Hodgson, Gawin 0
4315572 2135556 2135556 defendant Chambres Thomas gent 735616 735616 Chambres, Thomas, of Reybie, gent 0
4315573 2135556 2135556 defendant Allenbie John yeoman 735617 735617 Allenbie, John, of Langrigge, yeoman 1
4315574 2135556 2135556 defendant Crocklane Charles gent   Crocklane, Charles, gent 2
4315575 2135556 2135556 defendant Raylton Christopher yeoman 735618 735618 Raylton, Christopher, of Holme Coltrane, yeoman 3

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