home / cp40x

names

5 rows where case_id = 2115153

✎ 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
4256528 2115153 2115153 plaintiff Knight William gent, attorney   Knight, William, gent, attorney 0
4256529 2115153 2115153 defendant Bancke Humphrey yeoman 585869 585869 Bancke, Humphrey, of London, goldsmith, or of Hollande Prioty, Lancs, yeoman 0
4256530 2115153 2115153 defendant Hawkins Thomas miller 585869 585869 Hawkins, Thomas, of London, or of Gasenden, Herts, miller 1
4256531 2115153 2115153 defendant Prowse William gent 585869 585869 Prowse, William, of London, or of Middle Temple, gent 2
4256532 2115153 2115153 defendant Perry William gent 614212 614212 Perry, William, of St Martin in the Fields, or of Staple Inn, Middx, gent 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.721ms