home / cp40x

names

7 rows where case_id = 2300358

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4813589 2300358 2300358 plaintiff Hobbesson Thomas     Hobbesson, Thomas, on his own account 0
4813590 2300358 2300358 defendant Haytour Henry husbandman 606505 606505 Haytour, Henry, of Mulso, husbandman 0
4813591 2300358 2300358 defendant Kent Richard husbandman 806259 806259 Kent, Richard, of Mylton Keynes, husbandman 1
4813592 2300358 2300358 defendant Hobbesson Hugh husbandman 606505 606505 with Hobbesson, Hugh, of Mulso, husbandman 2
4813593 2300358 2300358 defendant Clerk Richard husbandman 606505 606505 Clerk, Richard, of Mulso, husbandman 3
4813594 2300358 2300358 defendant Hobbesson Henry husbandman 588719 588719 Hobbesson, Henry, of Neuport Paynell, husbandman 4
4813595 2300358 2300358 defendant Lawe Henry husbandman 742999 742999 Lawe, Henry, of Milton Keynes, husbandman 5

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 7.044ms