home / cp40x

names

7 rows where case_id = 2508287

✎ 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
5511024 2508287 2508287 plaintiff Horne Henry esq   Horne, Henry, esq 0
5511025 2508287 2508287 defendant Salkyn John husbandman 894948 894948 Salkyn, John, of Hamcourt, Estre-, husbandman 0
5511026 2508287 2508287 defendant Miller John husbandman 593001 593001 Miller, John, of Chesilherst, husbandman 1
5511027 2508287 2508287 defendant Wybarn Richard husbandman 609845 609845 Wybarn, Richard, of Cray St Mary, husbandman 2
5511028 2508287 2508287 defendant Raynold Robert husbandman 589493 589493 Raynold, Robert, of Cobham, husbandman 3
5511029 2508287 2508287 defendant Yong John husbandman 596533 596533 Yong, John, of Gyllyngham, husbandman 4
5511030 2508287 2508287 defendant Cowelond Richard husbandman 770281 770281 Cowelond, Richard, of Eslyng, 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 17.981ms