home / cp40x

names

6 rows where case_id = 2466340

✎ 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
5370438 2466340 2466340 plaintiff Gowele Richard mercer 585869 585869 Gowele, Richard, of London, mercer 0
5370439 2466340 2466340 defendant York John gent 588807 588807 York, John, of Rammesbury, Wilts, gent 0
5370440 2466340 2466340 defendant Rowge Walter clothier 604615 604615 Rowge, Walter, of Stoke Clare, Suff, clothier 1
5370441 2466340 2466340 defendant Warley William chapman 588476 588476 Warley, William, of Orset, Essex, chapman 2
5370442 2466340 2466340 defendant Leyle Nicholas esq 862391 862391 Leyle, Nicholas, of Chute, Hants, esq 3
5370443 2466340 2466340 defendant Hotton Richard husbandman 878950 878950 Hotton, Richard, of Osithe, Essex, husbandman 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 17.885ms