home / cp40x

names

7 rows where case_id = 2379248

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5075740 2379248 2379248 plaintiff Arundell John dean of royal college of Wyndesore   Arundell, John, dean of royal college of Wyndesore, administrator of 0
5075741 2379248 2379248 plaintiff Mildenhale John     Mildenhale, John 1
5075742 2379248 2379248 defendant Felyce Roger gent 821663 821663 Felyce, Roger, of Shaldeford, Essex, gent 0
5075743 2379248 2379248 defendant Wellis Thomas cooper 585869 585869 Wellis, Thomas, of London, cooper 1
5075744 2379248 2379248 defendant Bloklond Philip merchant 585925 585925 Bloklond, Philip, of Bristol, merchant 2
5075745 2379248 2379248 defendant Ferres John gent 843442 843442 Ferres, John, of Chircheton Ferres, Devon, gent 3
5075746 2379248 2379248 defendant Austyn John clerk 807725 807725 Austyn, John, of Shelley, Essex, clerk 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 20.569ms