home / cp40x

names

6 rows where case_id = 2316127

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4865329 2316127 2316127 plaintiff Gegge Richard esq   Gegge, Richard, esq 0
4865330 2316127 2316127 defendant Hawe Thomas brewer 585936 585936 Hawe, Thomas, of Norwich, brewer 0
4865331 2316127 2316127 defendant Baldok Roger ostler 627641 627641 Baldok, Roger, of Badburgham, Cams, ostler 1
4865332 2316127 2316127 defendant Palgrave alias Prentys Hugh husbandman or yeoman 600125 600125 Palgrave alias Prentys, Hugh, of Palgrave, Suff, husbandman or yeoman 2
4865333 2316127 2316127 defendant Milsent Stephen yeoman 622552 622552 Milsent, Stephen, of Tomston, yeoman 3
4865334 2316127 2316127 defendant Blak Richard fuller 639317 639317 Blak, Richard, of Gerveston, fuller 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 14.412ms