home / cp40x

names

5 rows where case_id = 2417501

✎ 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
5206049 2417501 2417501 plaintiff Hotoft Robert esq   Hotoft, Robert, esq 0
5206050 2417501 2417501 defendant Ive Robert gent 586818 586818 Ive, Robert, of Stowemarket, gent 0
5206051 2417501 2417501 defendant Aston John gent 640995 640995 together with Aston, John, of Batesford, gent 1
5206052 2417501 2417501 defendant Ganty Thomas laborer 587061 587061 Ganty, Thomas, of Combes, laborer 2
5206053 2417501 2417501 defendant Laweman Thomas   591275 591275 Laweman, Thomas, of Stowe Market, servant 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 7.518ms