home / cp40x

names

6 rows where case_id = 2345679

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4962469 2345679 2345679 plaintiff Brook Roger     Brook, Roger 0
4962470 2345679 2345679 defendant Cordy Richard yeoman 599639 599639 Cordy, Richard, of Lycham, yeoman 0
4962471 2345679 2345679 defendant Cordy John laborer 599639 599639 Cordy, John, of Lycham, laborer 1
4962472 2345679 2345679 defendant Rodelond John skinner 586168 586168 Rodelond, John, of Skernyng, skinner 2
4962473 2345679 2345679 defendant Godeburgh William   585869 585869 together with Godeburgh, William, of London, mason 3
4962474 2345679 2345679 defendant Skernyng William smith 587172 587172 Skernyng, William, of Est Derham, 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 19.934ms