home / cp40x

names

6 rows where case_id = 2421038

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5218126 2421038 2421038 plaintiff Gay Thomas, junior   585869 585869 Gay, Thomas, junior, of London 0
5218127 2421038 2421038 defendant Blake John gent 718500 718500 Blake, John, of Nether Wallop, Hants, gent 0
5218128 2421038 2421038 defendant Clyfton Gervase   585869 585869 Clyfton, Gervase, of London, knight 1
5218129 2421038 2421038 defendant Byllyngford John gent 860493 860493 Byllyngford, John, of Stoke Holy Cross, Norf, gent 2
5218130 2421038 2421038 defendant More Oto merchant 586374 586374 More, Oto, of Melcombe Regis, Dorset, merchant 3
5218131 2421038 2421038 defendant Horsey John merchant 587863 587863 Horsey, John, of Dunster, Soms, merchant 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 11.661ms