home / cp40x

names

6 rows where case_id = 2345749

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4962696 2345749 2345749 plaintiff Brydnell Edmund     Brydnell, Edmund 0
4962697 2345749 2345749 defendant Doun William husbandman 819740 819740 Doun, William, of Bataill, Sussex, husbandman 0
4962698 2345749 2345749 defendant Tanfeld William, senior husbandman 600031 600031 Tanfeld, William, senior, of Hatfeld Regis, Essex, husbandman 1
4962699 2345749 2345749 defendant Tanfeld William, junior yeoman 607898 607898 Tanfeld, William, junior, of Hatfeld Regis, yeoman 2
4962700 2345749 2345749 defendant Martyn William husbandman 638490 638490 Martyn, William, of Westfeld, Sussex, husbandman 3
4962701 2345749 2345749 defendant Lydham Thomas husbandman 827935 827935 Lydham, Thomas, of Westelyng, Sussex, 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 7.282ms