home / cp40x

names

6 rows where case_id = 2422191

✎ 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
5222168 2422191 2422191 plaintiff Margaret de facto et non de jure Queen of England     Margaret, de facto et non de jure Queen of England 0
5222169 2422191 2422191 defendant Cradok Richard esq 586208 586208 Cradok, Richard, of Hereford, esq 0
5222170 2422191 2422191 defendant Daumport Richard gent 590576 590576 Daumport, Richard, of Assheburn, Derbs, gent 1
5222171 2422191 2422191 defendant Persey Robert gent 588590 588590 Persey, Robert, of Assheburn, gent 2
5222172 2422191 2422191 defendant Franley Simon yeoman 629695 629695 Franley, Simon, of Tong, Salop, yeoman 3
5222173 2422191 2422191 defendant mainpernors for Vernon John esq 585869 585869 mainpernors for Vernon, John, of London, esq 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 5.765ms