home / cp40x

names

6 rows where case_id = 2004410

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3942199 2004410 2004410 plaintiff Wheler John   585869 585869 Wheler, John, of London, cloth worker 0
3942200 2004410 2004410 defendant Asshe John esq 656896 656896 Asshe, John, of Tyckenham, Soms, esq 0
3942201 2004410 2004410 defendant Comes John gent 606809 606809 Comes, John, of Boxley, Kent, gent 1
3942202 2004410 2004410 defendant Watson Thomas chapman 656897 656897 Watson, Thomas, of Anwyk, Northum, chapman 2
3942203 2004410 2004410 defendant Montos William chapman 656898 656898 Montos, William, of Peryth, Cumbld, chapman 3
3942204 2004410 2004410 defendant Clarkson George yeoman 605984 605984 Clarkson, George, of Newcastle upon Tyne, yeoman 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 12.62ms