home / cp40x

names

7 rows where case_id = 2519071

✎ 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
5546806 2519071 2519071 plaintiff Vevyan Michael esq   Vevyan, Michael, esq 0
5546807 2519071 2519071 defendant Garland John yeoman 599445 599445 Garland, John, of Milbroke, yeoman 0
5546808 2519071 2519071 defendant Fula John husbandman 625712 625712 Fula, John, of St Clere, husbandman 1
5546809 2519071 2519071 defendant Rayne Richard yeoman 898658 898658 Rayne, Richard, of Trethynnek, Dulo, yeoman 2
5546810 2519071 2519071 defendant Yogge John yeoman 898659 898659 Yogge, John, of Est Westnarth, yeoman 3
5546811 2519071 2519071 defendant Trevyll Stephen yeoman 897830 897830 Trevyll, Stephen, of Nynyho, yeoman 4
5546812 2519071 2519071 defendant Benet Robert yeoman 896182 896182 Benet, Robert, of Nether Wryngworthy, yeoman 5

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