home / cp40x

names

7 rows where case_id = 2232402

✎ 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
4603910 2232402 2232402 plaintiff Wykeham William de formerly bishop of Winchester   Wykeham, William de, formerly bishop of Winchester, executors of 0
4603911 2232402 2232402 plaintiff Elmere John clerk   (Elmere, John, clerk 1
4603912 2232402 2232402 plaintiff Campeden John clerk   Campeden, John, clerk 2
4603913 2232402 2232402 plaintiff Wykeham Thomas     Wykeham, Thomas 3
4603914 2232402 2232402 plaintiff Aileward Thomas clerk   Aileward, Thomas, clerk 4
4603915 2232402 2232402 defendant Arnold Thomas   587094 587094 Arnold, Thomas, of Bryghtwell 0
4603916 2232402 2232402 defendant Houglot John   757574 757574 Houglot, John, of Harewell 1

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