home / cp40x

names

6 rows where case_id = 2167286

✎ 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
4408118 2167286 2167286 plaintiff Stanhope Edward esq, Doctor of Law, Master of Court of Chancery   Stanhope, Edward, esq, Doctor of Law, Master of Court of Chancery 0
4408119 2167286 2167286 defendant Stanhope Thomas (legal representative) 591217 591217 Stanhope, Thomas, of Shelford, Notts, knight, executors of 0
4408120 2167286 2167286 defendant Stanhope Margaret widow 591217 591217 (Stanhope, Margaret, of Shelford, Notts, widow 1
4408121 2167286 2167286 defendant Stanhope Edward esq 662092 662092 Stanhope, Edward, of Grays Inn, Middx, esq 2
4408122 2167286 2167286 defendant Bevercott Samuel   636274 636274 Bevercott, Samuel, of Grays Inn, knight 3
4408123 2167286 2167286 defendant Wright Lawrence gent 752570 752570 Wright, Lawrence, of Snelston, Notts, 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.702ms