home / cp40x

names

6 rows where case_id = 2438679

✎ 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
5278074 2438679 2438679 plaintiff Bartelot John     Bartelot, John 0
5278075 2438679 2438679 defendant Beryche William husbandman 867820 867820 Beryche, William, of Irtelyngborough, husbandman 0
5278076 2438679 2438679 defendant Langley Alexander husbandman 830722 830722 Langley, Alexander, of Farndysshe, husbandman 1
5278077 2438679 2438679 defendant Drenwell Richard husbandman 795409 795409 Drenwell, Richard, of Hiegham Ferrers, husbandman 2
5278078 2438679 2438679 defendant Shelton Thomas husbandman 730380 730380 Shelton, Thomas, of Chelston, husbandman 3
5278079 2438679 2438679 defendant Howedon John husbandman 595602 595602 Howedon, John, of Raundes, husbandman 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.961ms