home / cp40x

names

8 rows where case_id = 2225581

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4581124 2225581 2225581 plaintiff Draper William   766524 766524 Draper, William, of Bardenay 0
4581125 2225581 2225581 defendant Draper Nichlas   757617 757617 Draper, Nichlas, of Kynyerdby 0
4581126 2225581 2225581 defendant Beseby Richard   771706 771706 Beseby, Richard, of Gilby 1
4581127 2225581 2225581 defendant Waterton John clerk 771707 771707 Waterton, John, of Pylham, clerk 2
4581128 2225581 2225581 defendant Baily John   594154 594154 Baily, John, of Laghton 3
4581129 2225581 2225581 defendant Alens Henry   632524 632524 Alens, Henry, of Northorp 4
4581130 2225581 2225581 defendant Yole William   632524 632524 Yole, William, of Northorp 5
4581131 2225581 2225581 defendant at Oven William   596435 596435 at Oven, William, of Harpeswell 6

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.18ms