home / cp40x

names

6 rows where case_id = 2512258

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5523769 2512258 2512258 plaintiff Giles John     Giles, John 0
5523770 2512258 2512258 defendant Strode Stephen husbandman 834897 834897 Strode, Stephen, of Northwold, Essex, husbandman 0
5523771 2512258 2512258 defendant Bele William chapman 896258 896258 Bele, William, of Wodebrigg, Suff, chapman 1
5523772 2512258 2512258 defendant Wale William cutler 588457 588457 Wale, William, of Thaxsted, Essex, cutler 2
5523773 2512258 2512258 defendant Fan John cutler 596421 596421 Fan, John, of Thaksted, cutler 3
5523774 2512258 2512258 defendant Kerkby John saddler 593673 593673 Kerkby, John, of St Clement Danes, Middx, saddler 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.362ms