home / cp40x

names

7 rows where case_id = 2384270

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5092788 2384270 2384270 plaintiff Person Emma (legal representative) 592690 592690 Person, Emma, of Shefford, widow, executor of 0
5092789 2384270 2384270 plaintiff Grenyng Henry chaplain   Grenyng, Henry, chaplain 1
5092790 2384270 2384270 defendant Valentyne John smith 592690 592690 Valentyne, John, of Shefford, smith 0
5092791 2384270 2384270 defendant May William smith 592690 592690 May, William, of Shefford, smith 1
5092792 2384270 2384270 defendant Colyns Thomas yeoman 845467 845467 Colyns, Thomas, of Southeyell, yeoman 2
5092793 2384270 2384270 defendant Dawe Simon clerk 627691 627691 Dawe, Simon, of Wappenham, clerk 3
5092794 2384270 2384270 defendant Holman William yeoman 845468 845468 Holman, William, of Coneham, Surrey, 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.854ms