home / cp40x

names

6 rows where case_id = 2524697

✎ 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
5566152 2524697 2524697 plaintiff Clapham Richard     Clapham, Richard 0
5566153 2524697 2524697 defendant Migysley John yeoman 587259 587259 Migysley, John, of Thornton, yeoman 0
5566154 2524697 2524697 defendant Brig John yeoman 780415 780415 Brig, John, of Kyghlay, yeoman 1
5566155 2524697 2524697 defendant Hudson Robert yeoman 741115 741115 Hudson, Robert, of Okeworth, yeoman 2
5566156 2524697 2524697 defendant Widhope John yeoman 780415 780415 Widhope, John, of Kyghlay, yeoman 3
5566157 2524697 2524697 defendant Branley William yeoman 586397 586397 Branley, William, of Morton, yeoman 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 13.834ms