home / cp40x

names

8 rows where case_id = 1960091

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3807026 1960091 1960091 plaintiff Weston Richard knight   Weston, Richard, knight 0
3807027 1960091 1960091 plaintiff Wyatt Henry knight, treasurer of the chamber   Wyatt, Henry, knight, treasurer of the chamber 1
3807028 1960091 1960091 defendant Darcy Arthur   602938 602938 Darcy, Arthur, of Est Grenewiche, Kent, knight 0
3807029 1960091 1960091 defendant Pykeryng William   632509 632509 Pykeryng, William, of Oswaldkirke, Yorks, knight 1
3807030 1960091 1960091 defendant Bollys John esq 632510 632510 Bollys, John, of Haxhe, Lincs, esq 2
3807031 1960091 1960091 defendant Jakson Charles gent 632511 632511 Jakson, Charles, of Snytall, Yorks, gent 3
3807032 1960091 1960091 defendant Tempest Thomas esq 632512 632512 Tempest, Thomas, of Sandall Castell, Yorks, esq 4
3807033 1960091 1960091 defendant Bryghouse George gent 632513 632513 Bryghouse, George, of West Grenewiche, gent 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 16.377ms