home / cp40x

names

6 rows where case_id = 2218216

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4557283 2218216 2218216 plaintiff Kydall John     Kydall, John 0
4557284 2218216 2218216 defendant Farley William   589517 589517 Farley, William, of Wyntryngham 0
4557285 2218216 2218216 defendant Feriby Peter   590061 590061 Feriby, Peter, of Barton 1
4557286 2218216 2218216 defendant atte Wellde Simon   760138 760138 atte Wellde, Simon, of Kelyngholme 2
4557287 2218216 2218216 defendant Claye Nicholas   590061 590061 Claye, Nicholas, of Barton 3
4557288 2218216 2218216 defendant Mesken John   760138 760138 Mesken, John, of Kelyngholme 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.588ms