home / cp40x

names

5 rows where case_id = 2533892

✎ 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
5596718 2533892 2533892 plaintiff Clerkson Robert     Clerkson, Robert 0
5596719 2533892 2533892 defendant Hubberd John carpenter 612175 612175 Hubberd, John, of Erwarton, carpenter 0
5596720 2533892 2533892 defendant Kebyll Nicholas butcher 586823 586823 Kebyll, Nicholas, of Herwich, Essex, butcher 1
5596721 2533892 2533892 defendant Tastard John shoemaker 586099 586099 Tastard, John, of Eyke, shoemaker 2
5596722 2533892 2533892 defendant Assy William husbandman 624640 624640 Assy, William, of Tybenham, Norf, husbandman 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 14.721ms