home / cp40x

names

9 rows where case_id = 2228781

✎ 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
4591767 2228781 2228781 plaintiff Mose Peter (legal representative)   Mose, Peter, executors of 0
4591768 2228781 2228781 plaintiff Harleston John     (Harleston, John 1
4591769 2228781 2228781 plaintiff Cumberton Thomas     Cumberton, Thomas 2
4591770 2228781 2228781 plaintiff Bokenham Robert     Bokenham, Robert 3
4591771 2228781 2228781 plaintiff Bokenham Anabel     Anabel, his wife 4
4591772 2228781 2228781 defendant Wryght Ralph   589315 589315 Wryght, Ralph, of Catton 0
4591773 2228781 2228781 defendant Smyth William   772671 772671 Smyth, William, of Costeshey 1
4591774 2228781 2228781 defendant Smyth Ralph   585936 585936 Smyth, Ralph, of Norwich 2
4591775 2228781 2228781 defendant atte Cros John   585936 585936 atte Cros, John, of Norwich 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 13.984ms