home / cp40x

names

6 rows where case_id = 1908088

✎ 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
3642466 1908088 1908088 plaintiff Caus Gregory mercer 585936 585936 Caus, Gregory, of Norwich, mercer 0
3642467 1908088 1908088 defendant Legend William husbandman 600778 600778 Legend, William, of Shanyngfeld, Suff, husbandman 0
3642468 1908088 1908088 defendant Storke William smith 600779 600779 Storke, William, of Pesenale, Suff, smith 1
3642469 1908088 1908088 defendant Madour John mercer 585936 585936 Madour, John, of Norwich, mercer 2
3642470 1908088 1908088 defendant Smyth Roger yeoman 590409 590409 Smyth, Roger, of Costessey, yeoman 3
3642471 1908088 1908088 defendant Rede John fishmonger 585936 585936 Rede, John, of Norwich, fishmonger 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 15.802ms