home / cp40x

names

6 rows where case_id = 1916331

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3669285 1916331 1916331 plaintiff Beer William     Beer, William 0
3669286 1916331 1916331 defendant Crosseman Edward   607445 607445 Crosseman, Edward, of Crosse, Bodflenny, franklin 0
3669287 1916331 1916331 defendant Grose John yeoman 607446 607446 Grose, John, of Trenowyth, St Solumb Overy, yeoman 1
3669288 1916331 1916331 defendant Seke John   595909 595909 Seke, John, of Bodman 2
3669289 1916331 1916331 defendant at Rose Henry laborer 588468 588468 at Rose, Henry, of Blyslond, laborer 3
3669290 1916331 1916331 defendant Kelly William laborer 595909 595909 Kelly, William, of Bodman, laborer 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 16.677ms