home / cp40x

names

7 rows where case_id = 2237951

✎ 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
4622287 2237951 2237951 plaintiff Lord Thomas (legal representative) 764704 764704 Lord, Thomas, of Ampthull, executors of 0
4622288 2237951 2237951 plaintiff Campyon William   764704 764704 (Campyon, William, of Ampthull, vicar 1
4622289 2237951 2237951 plaintiff Lord John son of Thomas, of Ampthull   Lord, John, son of Thomas, of Ampthull 2
4622290 2237951 2237951 defendant Denyas John   667058 667058 Denyas, John, of Blounham 0
4622291 2237951 2237951 defendant Neweman Nicholas   588802 588802 Neweman, Nicholas, of Wotton 1
4622292 2237951 2237951 defendant Godewyn Richard   607278 607278 Godewyn, Richard, of Kemston 2
4622293 2237951 2237951 defendant Bergeney John   588802 588802 Bergeney, John, of Wotton 3

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