home / cp40x

names

6 rows where case_id = 2321996

✎ 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
4884297 2321996 2321996 plaintiff Willyngham Robert   817117 817117 Willyngham, Robert, of Boston St Botolph 0
4884298 2321996 2321996 defendant Berege Richard husbandman 586286 586286 Berege, Richard, of Boston, husbandman 0
4884299 2321996 2321996 defendant Warde Henry husbandman 621239 621239 Warde, Henry, of Skyrbek, husbandman 1
4884300 2321996 2321996 defendant Fendyk Richard husbandman 669115 669115 Fendyk, Richard, of Skirbek, husbandman 2
4884301 2321996 2321996 defendant Forman John husbandman 621239 621239 Forman, John, of Skyrbek, husbandman 3
4884302 2321996 2321996 defendant Palmer Thomas fisher 590061 590061 Palmer, Thomas, of Barton on Humber, fisher 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.565ms