home / cp40x

names

7 rows where case_id = 2242248

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4636497 2242248 2242248 plaintiff Barton Robert     Barton, Robert 0
4636498 2242248 2242248 defendant Ropere Richard   592486 592486 Ropere, Richard, of Harowdon 0
4636499 2242248 2242248 defendant Kervere William     Kervere, William 1
4636500 2242248 2242248 defendant Tryse John     Tryse, John 2
4636501 2242248 2242248 defendant atte Well Ellis   776690 776690 atte Well, Ellis, of Luyton 3
4636502 2242248 2242248 defendant Sampson Richard   760366 760366 Sampson, Richard, of Stachesden 4
4636503 2242248 2242248 defendant Orberd Robert   589562 589562 Orberd, Robert, of Bromeham 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 14.096ms