home / cp40x

names

5 rows where case_id = 2274442

✎ 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
4729508 2274442 2274442 plaintiff Lees Richard     Lees, Richard 0
4729509 2274442 2274442 defendant Smyth William husbandman 792429 792429 Smyth, William, of Thorp by Tatersale, husbandman 0
4729510 2274442 2274442 defendant Botery William husbandman 595315 595315 Botery, William, of Ormesby, husbandman 1
4729511 2274442 2274442 defendant Huchonson Randolf husbandman 606682 606682 Huchonson, Randolf, of Waynflet, husbandman 2
4729512 2274442 2274442 defendant Elsham John   792430 792430 Elsham, John, of Skot Wylughby, parson 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 15.143ms