home / cp40x

names

8 rows where case_id = 1974460

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3852719 1974460 1974460 plaintiff Rous Anthony esq   Rous, Anthony, esq 0
3852720 1974460 1974460 plaintiff Rous William gent   Rous, William, gent 1
3852721 1974460 1974460 plaintiff Venys William     Venys, William 2
3852722 1974460 1974460 defendant Bateman Thomas esq 622319 622319 Bateman, Thomas, of Flyxston, esq 0
3852723 1974460 1974460 defendant Belyngford James clerk 587821 587821 Belyngford, James, of South Elmham, clerk 1
3852724 1974460 1974460 defendant Thompson Robert clerk 640042 640042 Thompson, Robert, of Weyngfeld, clerk 2
3852725 1974460 1974460 defendant Mapys John carpenter 622319 622319 Mapys, John, of Flyxston, carpenter 3
3852726 1974460 1974460 defendant Mapys William husbandman 587821 587821 Mapys, William, of South Elmham, 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.664ms