home / cp40x

names

7 rows where case_id = 2257572

✎ 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
4674304 2257572 2257572 plaintiff Drewe Richard   585936 585936 Drewe, Richard, of Norwich, on his own account 0
4674305 2257572 2257572 defendant Smyth John yeoman 586168 586168 Smyth, John, of Skernyng, yeoman 0
4674306 2257572 2257572 defendant Rumburgh John yeoman 587915 587915 Rumburgh, John, of Gyssyng, yeoman 1
4674307 2257572 2257572 defendant Bettys Robert   781780 781780 Bettys, Robert, of Aylesham, yeoma 2
4674308 2257572 2257572 defendant Hyrlond John smith 586471 586471 Hyrlond, John, of Aylesham, smith 3
4674309 2257572 2257572 defendant Coke Thomas   769584 769584 Coke, Thomas, of Teteshale, bailiff 4
4674310 2257572 2257572 defendant Maryon Thomas yeoman 591103 591103 Maryon, Thomas, of Attilburgh, yeoman 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 8.747ms