home / cp40x

names

5 rows where case_id = 2164458

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4399611 2164458 2164458 plaintiff Lumbrey George     Lumbrey, George 0
4399612 2164458 2164458 defendant More George gent 593282 593282 More, George, of Drayton, gent 0
4399613 2164458 2164458 defendant Salmon John yeoman 669776 669776 Salmon, John, of Langeport, yeoman 1
4399614 2164458 2164458 defendant Pynnye Richard yeoman 751171 751171 Pynnye, Richard, of Fyffett, yeoman 2
4399615 2164458 2164458 defendant Hancocke Samuel innholder 669776 669776 Hancocke, Samuel, of Langeport, innholder 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.331ms