home / cp40x

names

7 rows where case_id = 2502814

✎ 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
5492990 2502814 2502814 plaintiff Dawes John (legal representative)   Dawes, John, executors of 0
5492991 2502814 2502814 plaintiff Kyrfote Robert     (Kyrfote, Robert 1
5492992 2502814 2502814 defendant Scarlet William mercer 779694 779694 Scarlet, William, of Lempstre, Herefs, mercer 0
5492993 2502814 2502814 defendant Vicars William butcher 586208 586208 Vicars, William, of Hereford, butcher 1
5492994 2502814 2502814 defendant Aston Richard grasier 586117 586117 Aston, Richard, of Coventry, grasier 2
5492995 2502814 2502814 defendant Aleed William butcher 625291 625291 Aleed, William, of Preston, Herefs, butcher 3
5492996 2502814 2502814 defendant Haklet Thomas butcher 589541 589541 Haklet, Thomas, of Lempster, butcher 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.661ms