home / cp40x

names

6 rows where case_id = 2471242

✎ 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
5386636 2471242 2471242 plaintiff Curson of Norwich draper   Curson, of Norwich, draper 0
5386637 2471242 2471242 defendant Wodehous Edward   881463 881463 Wodehous, Edward, of Kymbirley, Norf, knight, formerly esquire 0
5386638 2471242 2471242 defendant Wodehous John gent 881464 881464 Wodehous, John, of Kymbyrley, gent 1
5386639 2471242 2471242 defendant Harde Thomas husbandman 606482 606482 Harde, Thomas, of Norfolk, husbandman 2
5386640 2471242 2471242 defendant Bybot John husbandman 871210 871210 Bybot, John, of Leryngset, Norf, husbandman 3
5386641 2471242 2471242 defendant Almotte of Wyngfeld Norf, gent   Almotte, of Wyngfeld, Norf, gent 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 14.666ms