home / cp40x

names

7 rows where case_id = 2308331

✎ 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
4839695 2308331 2308331 plaintiff Haule John     Haule, John 0
4839696 2308331 2308331 defendant Cothe Richard gent 810765 810765 Cothe, Richard, of Penmarth, Cornw, gent 0
4839697 2308331 2308331 defendant Caruek Robert clerk 810766 810766 Caruek, Robert, of Trewardrayt, Cornw, clerk 1
4839698 2308331 2308331 defendant Olyver Joan widow 810767 810767 Olyver, Joan, of Trewardrayt, widow 2
4839699 2308331 2308331 defendant Drewe John husbandman 810768 810768 Drewe, John, of Legh All Saints, Devon, husbandman 3
4839700 2308331 2308331 defendant Drewe William   762629 762629 Drewe, William, of Legh All Saints, single man 4
4839701 2308331 2308331 defendant Skynner Robert husbandman 810770 810770 Skynner, Robert, of Taygnebourn, husbandman 5

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 15.575ms