home / cp40x

names

6 rows where case_id = 2216145

✎ 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
4550647 2216145 2216145 plaintiff del Haven Thomas     del Haven, Thomas 0
4550648 2216145 2216145 defendant Malthorp Robert de chaplain 626243 626243 Malthorp, Robert de, of Billesby, chaplain 0
4550649 2216145 2216145 defendant Tournour John   768614 768614 Tournour, John, of Stikswele 1
4550650 2216145 2216145 defendant Kele Thomas   756465 756465 Kele, Thomas, of Germethorp 2
4550651 2216145 2216145 defendant North William   768615 768615 North, William, of Authorp 3
4550652 2216145 2216145 defendant Kellok John   768615 768615 Kellok, John, of Authorp 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 13.311ms