home / cp40x

names

7 rows where case_id = 1960294

✎ 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
3807661 1960294 1960294 plaintiff Wyatt Henry knight, treasurer of the chamber   Wyatt, Henry, knight, treasurer of the chamber 0
3807662 1960294 1960294 plaintiff Englefeld Thomas Justice   Englefeld, Thomas, Justice 1
3807663 1960294 1960294 plaintiff Paulet William knight   Paulet, William, knight 2
3807664 1960294 1960294 defendant Redhod Thomas grocer 585869 585869 Redhod, Thomas, of London, grocer 0
3807665 1960294 1960294 defendant Laurence John gent 632630 632630 Laurence, John, of Bridge, Kent, gent 1
3807666 1960294 1960294 defendant More William clerk 608898 608898 More, William, of Sleford, Lincs, clerk 2
3807667 1960294 1960294 defendant Newbolt William yeoman 612120 612120 Newbolt, William, of Sleford, yeoman 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.55ms