home / cp40x

names

6 rows where case_id = 2081426

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4159594 2081426 2081426 plaintiff Prouse Thomas (legal representative)   Prouse, Thomas, executrix of 0
4159595 2081426 2081426 plaintiff Prouse Alice widow   Prouse, Alice, widow 1
4159596 2081426 2081426 defendant Gaymer Henry gent 599415 599415 Gaymer, Henry, of Rye, Sussex, gent 0
4159597 2081426 2081426 defendant Holstock Henry tailor 587540 587540 Holstock, Henry, of Rye, tailor 1
4159598 2081426 2081426 defendant Hollynshed John vintner 585869 585869 Hollynshed, John, of London, vintner 2
4159599 2081426 2081426 defendant Hollynshed Thomas vintner 585869 585869 Hollynshed, Thomas, of London, vintner 3

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.685ms