home / cp40x

names

7 rows where case_id = 2386698

✎ 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
5100982 2386698 2386698 plaintiff Andrewe Richard     Andrewe, Richard 0
5100983 2386698 2386698 defendant Chosell John chapman 586286 586286 Chosell, John, of Boston, chapman 0
5100984 2386698 2386698 defendant Tythe Thomas   621239 621239 Tythe, Thomas, of Skyrbek 1
5100985 2386698 2386698 defendant Ballok William husbandman 621239 621239 Ballok, William, of Skyrbek, husbandman 2
5100986 2386698 2386698 defendant Byller John husbandman 586039 586039 Byller, John, of Whaplod, husbandman 3
5100987 2386698 2386698 defendant Sawer John husbandman 586039 586039 Sawer, John, of Whaplod, husbandman 4
5100988 2386698 2386698 defendant Jonson William husbandman 586039 586039 Jonson, William, of Whaplod, husbandman 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 14.651ms