home / cp40x

names

6 rows where case_id = 2353145

✎ 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
4987278 2353145 2353145 plaintiff Belham John tailor 585869 585869 Belham, John, of London, tailor 0
4987279 2353145 2353145 defendant Herbard Thomas esq 831014 831014 Herbard, Thomas, of Bergeveny, South Wales, esq 0
4987280 2353145 2353145 defendant Cresse William esq 768656 768656 Cresse, William, of Sudbury, Suffolk, esq 1
4987281 2353145 2353145 defendant Wanton William esq 798684 798684 Wanton, William, of Great Stoughton, Hunts, esq 2
4987282 2353145 2353145 defendant Anger John   586365 586365 Anger, John, of Wymondham 3
4987283 2353145 2353145 defendant Wyndham John esq 590396 590396 Wyndham, John, of Wymondham, Norf, esq 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.563ms