home / cp40x

names

6 rows where case_id = 2350717

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4979134 2350717 2350717 plaintiff Scryven John     Scryven, John 0
4979135 2350717 2350717 defendant Hannes John husbandman 829930 829930 Hannes, John, of Rokley, husbandman 0
4979136 2350717 2350717 defendant Counde John husbandman 829930 829930 Counde, John, of Rokley, husbandman 1
4979137 2350717 2350717 defendant Harle John husbandman 829930 829930 Harle, John, of Rokley, husbandman 2
4979138 2350717 2350717 defendant Crompe John husbandman 829930 829930 Crompe, John, of Rokley, husbandman 3
4979139 2350717 2350717 defendant Hode Hugh husbandman 593200 593200 Hode, Hugh, of Longley, 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 14.065ms