home / cp40x

names

6 rows where case_id = 2384233

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5092658 2384233 2384233 plaintiff Penchar Robert     Penchar, Robert 0
5092659 2384233 2384233 defendant Horneclyff Robert husbandman 597418 597418 Horneclyff, Robert, of Calverton, husbandman 0
5092660 2384233 2384233 defendant Walker John husbandman 774789 774789 Walker, John, of Edwalton, husbandman 1
5092661 2384233 2384233 defendant Lyndby William husbandman 599650 599650 Lyndby, William, of Kneton, husbandman 2
5092662 2384233 2384233 defendant Hill Thomas yeoman 845449 845449 Hill, Thomas, of Blithworth, yeoman 3
5092663 2384233 2384233 defendant Leek Robert   597418 597418 Leek, Robert, of Calverton, wright 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.288ms