home / cp40x

names

6 rows where case_id = 2003908

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3940737 2003908 2003908 plaintiff Stourton Joan widow   Stourton, Joan, widow 0
3940738 2003908 2003908 defendant Skynner Edward yeoman 598043 598043 Skynner, Edward, of Cerne, yeoman 0
3940739 2003908 2003908 defendant Capon James   598043 598043 Capon, James, of Cerne, surgeon 1
3940740 2003908 2003908 defendant Combe Leonard husbandman 656546 656546 Combe, Leonard, of Upcerne, husbandman 2
3940741 2003908 2003908 defendant Hodges John husbandman 656546 656546 Hodges, John, of Upcerne, husbandman 3
3940742 2003908 2003908 defendant Togood Richard husbandman 656546 656546 Togood, Richard, of Upcerne, husbandman 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 19.704ms