home / cp40x

names

6 rows where case_id = 2257772

✎ 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
4674936 2257772 2257772 plaintiff Everard Alan mercer 585869 585869 Everard, Alan, of London, mercer, on his own account 0
4674937 2257772 2257772 defendant Abraham John chapman 588180 588180 Abraham, John, of Aylesbury, Bucks, chapman 0
4674938 2257772 2257772 defendant Somonour John chapman 781897 781897 Somonour, John, of Rode, Dors, chapman 1
4674939 2257772 2257772 defendant Prynce William chapman 781898 781898 Prynce, William, of Bekyngton, Dors, chapman 2
4674940 2257772 2257772 defendant Cotyngham Robert chapman 586483 586483 Cotyngham, Robert, of Wycombe, Bucks, chapman 3
4674941 2257772 2257772 defendant Wynger Richard chapman 603676 603676 Wynger, Richard, of Campden, Gloucs, chapman 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 12.265ms