home / cp40x

names

7 rows where case_id = 1997905

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3922695 1997905 1997905 plaintiff Sand John (legal representative) 620428 620428 Sand, John, of Yaxley, Hunts, gent, executor of 0
3922696 1997905 1997905 plaintiff Sand Edward     Sand, Edward 1
3922697 1997905 1997905 defendant Ardos Michael gent 652268 652268 Ardos, Michael, of Denton, Hunts, gent 0
3922698 1997905 1997905 defendant Thresher John yeoman 598952 598952 Thresher, John, of Ramsey, Hunts, yeoman 1
3922699 1997905 1997905 defendant Byrchall Robert parson of Sawtre St Andrew, Hunts   Byrchall, Robert, parson of Sawtre St Andrew, Hunts 2
3922700 1997905 1997905 defendant Furneys John smith 586383 586383 Furneys, John, of Stamford, Lincs, smith 3
3922701 1997905 1997905 defendant Malhome Christopher clerk 652269 652269 Malhome, Christopher, of Stybbyngton, Hunts, clerk 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.052ms