home / cp40x

names

6 rows where case_id = 1913838

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3661394 1913838 1913838 plaintiff Kyngsey Robert     Kyngsey, Robert 0
3661395 1913838 1913838 defendant Stannowe John yeoman 605369 605369 Stannowe, John, of Bedyngham, Norf, yeoman 0
3661396 1913838 1913838 defendant Baker John yeoman 605369 605369 Baker, John, of Bedyngham, Norf, yeoman 1
3661397 1913838 1913838 defendant Estawe John yeoman 605370 605370 Estawe, John, of Wotton, Norf, yeoman 2
3661398 1913838 1913838 defendant Goodwyn Robert yeoman 605371 605371 Goodwyn, Robert, of Topcroft, Norf, yeoman 3
3661399 1913838 1913838 defendant Wodeard Robert yeoman 586559 586559 Wodeard, Robert, of Topcroft, yeoman 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 13.978ms