home / cp40x

names

6 rows where case_id = 2469790

✎ 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
5381597 2469790 2469790 plaintiff Honyton John Colchester 880742 880742 Honyton, John, of Nova Hetha, Colchester 0
5381598 2469790 2469790 defendant Jacob William clothmaker 593816 593816 Jacob, William, of Sudbery, clothmaker 0
5381599 2469790 2469790 defendant Halle Thomas smith 589842 589842 Halle, Thomas, of Melleford, smith 1
5381600 2469790 2469790 defendant Couver Richard laborer 880743 880743 Couver, Richard, of Shynyelyng, laborer 2
5381601 2469790 2469790 defendant Canoon John smith 589847 589847 Canoon, John, of Burys St Mary, smith 3
5381602 2469790 2469790 defendant Wellys Adam smith 789877 789877 Wellys, Adam, of Ayston, smith 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.676ms